2001-05-14 12:42:49 -04:00
|
|
|
$OpenBSD: patch-icb_c_shell_c,v 1.1 2001/05/14 16:42:53 millert Exp $
|
|
|
|
--- icb/c_shell.c.orig Fri Feb 24 14:20:19 1995
|
|
|
|
+++ icb/c_shell.c Mon May 14 10:33:03 2001
|
|
|
|
@@ -14,7 +14,7 @@ TARGDEFS
|
2000-01-16 06:10:49 -05:00
|
|
|
static char *usage = "usage: c_shell [command]";
|
|
|
|
int w, pid;
|
|
|
|
int shellout = 0;
|
|
|
|
- union wait status;
|
|
|
|
+ int status;
|
|
|
|
char *shell, *getenv();
|
|
|
|
|
|
|
|
/* disallow use if restricted mode set */
|
2001-05-14 12:42:49 -04:00
|
|
|
@@ -66,7 +66,7 @@ TARGDEFS
|
2000-01-16 04:26:46 -05:00
|
|
|
icbterm();
|
|
|
|
|
|
|
|
/* restore signal processing */
|
|
|
|
- signal(SIGINT, askquit);
|
|
|
|
+ signal(SIGINT, (void *)askquit);
|
|
|
|
signal(SIGQUIT, SIG_DFL);
|
|
|
|
|
|
|
|
/* clean up a little */
|