variable shared with signal handler needs to be "volatile sig_atomic_t".
Obtained from: KAME MFC after: 1 week
This commit is contained in:
parent
712812f25b
commit
2b087c738d
@ -72,8 +72,8 @@ static u_char *rcvcmsgbuf;
|
||||
static size_t rcvcmsgbuflen;
|
||||
static u_char *sndcmsgbuf = NULL;
|
||||
static size_t sndcmsgbuflen;
|
||||
static int do_dump;
|
||||
static int do_die;
|
||||
volatile sig_atomic_t do_dump;
|
||||
volatile sig_atomic_t do_die;
|
||||
struct msghdr sndmhdr;
|
||||
struct iovec rcviov[2];
|
||||
struct iovec sndiov[2];
|
||||
|
Loading…
Reference in New Issue
Block a user