ppp/ppp-2.4.2-signal.patch
cvsdist 72f927b491 auto-import changelog data from ppp-2.4.2-4.src.rpm
Fri Aug 06 2004 Thomas Woerner <twoerner@redhat.com> 2.4.2-4
- fixed signal handling (#29171)
2004-09-09 10:44:29 +00:00

13 lines
341 B
Diff

--- ppp-2.4.2/pppd/main.c.signal 2004-01-13 05:00:34.000000000 +0100
+++ ppp-2.4.2/pppd/main.c 2004-08-06 11:35:59.968454227 +0200
@@ -1338,8 +1338,8 @@
act.sa_handler = SIG_IGN;
act.sa_flags = 0;
- sigaction(sig, &act, &oldact);
kill(0, sig);
+ sigaction(sig, &act, &oldact);
sigaction(sig, &oldact, NULL);
}