summaryrefslogtreecommitdiff
path: root/net/icb/files/patch-o-ah
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-05-25 23:23:36 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-05-25 23:23:36 +0000
commit721685a75951a3194d0d12e4096185dbd76b379c (patch)
tree85d96e92468c3e284d56a6b0bdcec9e88832ddb1 /net/icb/files/patch-o-ah
parentMASTER_SITE_SUBDIR should have neither a leading nor a trailing slash. (diff)
Internet CB - a chat client
Notes
Notes: svn path=/head/; revision=11144
Diffstat (limited to 'net/icb/files/patch-o-ah')
-rw-r--r--net/icb/files/patch-o-ah31
1 files changed, 31 insertions, 0 deletions
diff --git a/net/icb/files/patch-o-ah b/net/icb/files/patch-o-ah
new file mode 100644
index 000000000000..858a51e24b3c
--- /dev/null
+++ b/net/icb/files/patch-o-ah
@@ -0,0 +1,31 @@
+*** icb/c_shell.c.orig Wed May 6 18:54:38 1998
+--- icb/c_shell.c Wed May 6 18:55:02 1998
+***************
+*** 60,72 ****
+ signal(SIGQUIT, SIG_IGN);
+
+ /* wait for the child(ren) to die */
+! while ((w = wait(&status)) != pid && w != -1);
+
+ /* restore the terminal */
+ icbterm();
+
+ /* restore signal processing */
+! signal(SIGINT, askquit);
+ signal(SIGQUIT, SIG_DFL);
+
+ /* clean up a little */
+--- 60,72 ----
+ signal(SIGQUIT, SIG_IGN);
+
+ /* wait for the child(ren) to die */
+! while ((w = wait((int *)&status)) != pid && w != -1);
+
+ /* restore the terminal */
+ icbterm();
+
+ /* restore signal processing */
+! signal(SIGINT, (void *)askquit);
+ signal(SIGQUIT, SIG_DFL);
+
+ /* clean up a little */