openbsd-ports/net/icb/patches/patch-ah
2000-01-16 11:10:49 +00:00

21 lines
487 B
Plaintext

--- icb/c_shell.c.orig Fri Feb 24 16:20:19 1995
+++ icb/c_shell.c Sun Jan 16 05:08:31 2000
@@ -14,7 +14,7 @@
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 */
@@ -66,7 +66,7 @@
icbterm();
/* restore signal processing */
- signal(SIGINT, askquit);
+ signal(SIGINT, (void *)askquit);
signal(SIGQUIT, SIG_DFL);
/* clean up a little */