ppp/ppp-2.4.2-signal.patch

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);
}