Contents of /trunk/netkit-rsh/patches/netkit-rsh-0.17-ignchld.patch
Parent Directory | Revision Log
Revision 153 -
(show annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 706 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 706 byte(s)
-import
1 | --- netkit-rsh-0.17/rlogind/rlogind.c.ignchld 2004-12-06 13:31:23.263630216 +0100 |
2 | +++ netkit-rsh-0.17/rlogind/rlogind.c 2004-12-06 13:31:43.382571672 +0100 |
3 | @@ -440,7 +440,7 @@ |
4 | ioctl(master, TIOCPKT, &on); |
5 | signal(SIGCHLD, cleanup); |
6 | protocol(netfd, master); |
7 | - signal(SIGCHLD, SIG_IGN); |
8 | + signal(SIGCHLD, SIG_DFL); |
9 | cleanup(0); |
10 | } |
11 | |
12 | --- netkit-rsh-0.17/rlogin/rlogin.c.ignchld 2004-12-06 13:30:37.110646536 +0100 |
13 | +++ netkit-rsh-0.17/rlogin/rlogin.c 2004-12-06 13:31:00.224132752 +0100 |
14 | @@ -523,7 +523,7 @@ |
15 | stop(char cmdc) |
16 | { |
17 | mode(0); |
18 | - signal(SIGCHLD, SIG_IGN); |
19 | + signal(SIGCHLD, SIG_DFL); |
20 | kill(cmdc == defsusp ? 0 : getpid(), SIGTSTP); |
21 | signal(SIGCHLD, catch_child); |
22 | mode(1); |