Magellan Linux

Contents of /trunk/netkit-rsh/netkit-rsh-0.17-rexec-sig.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 97 - (show annotations) (download)
Fri Jan 19 23:50:26 2007 UTC (17 years, 3 months ago) by niro
File size: 531 byte(s)
new files

1 --- netkit-rsh-0.17/rexec/rexec.c.rexec-sig 2004-11-17 16:51:37.000000000 +0100
2 +++ netkit-rsh-0.17/rexec/rexec.c 2004-11-17 17:17:12.844628352 +0100
3 @@ -434,10 +434,10 @@
4 break;
5 default:
6 if ( sigaction(sig, NULL, &action) < 0 )
7 - {
8 - perror(progname);
9 - exit(1);
10 - }
11 + /* in the signal(7) you can found "...except SIGKILL and SIGSTOP",
12 + * but we detect problems with more signals...
13 + */
14 + return;
15 if ( action.sa_handler != SIG_IGN )
16 {
17 action.sa_handler = handler;