On 31/05/14 08:58, Jeremiah Mahler wrote:
From signal(2) man page:
The behavior of signal() varies across UNIX versions, and has also var‐
ied historically across different versions of Linux. Avoid its use:
use sigaction(2) instead.
Replaced signal() with sigaction() in
Chris,
On Sat, May 31, 2014 at 10:39:39PM +1200, Chris Packham wrote:
On 31/05/14 08:58, Jeremiah Mahler wrote:
From signal(2) man page:
...
- signal(SIGCHLD, SIG_DFL);
+ memset(sa, 0, sizeof(sa));
+ sa.sa_handler = SIG_DFL;
+ sigaction(SIGCHLD, sa, 0);
I think this got
From signal(2) man page:
The behavior of signal() varies across UNIX versions, and has also var‐
ied historically across different versions of Linux. Avoid its use:
use sigaction(2) instead.
Replaced signal() with sigaction() in connect.c
Signed-off-by: Jeremiah Mahler
Jeremiah Mahler jmmah...@gmail.com writes:
From signal(2) man page:
The behavior of signal() varies across UNIX versions, and has also var‐
ied historically across different versions of Linux. Avoid its use:
use sigaction(2) instead.
I don't think this matters for SIG_DFL or
4 matches
Mail list logo