blob: 858a51e24b3cfbb557c4b5f86b9f0c5d6b1f0ffe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 */
|