diff options
author | Xinchen Hui <laruence@php.net> | 2015-07-24 16:13:07 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2015-07-24 16:13:07 +0800 |
commit | d44fc4a07361d2527dd7073b09e5e88134708858 (patch) | |
tree | 7bf11a426384d594d61bc2e6f813934ce96f2ce7 /sapi/phpdbg/phpdbg.c | |
parent | 0f1e87d9c18c52f91cb64267114267d239ad3488 (diff) | |
parent | 1dab25689a48b9645dbea023e7d42b29d0c1a1ae (diff) | |
download | php-git-d44fc4a07361d2527dd7073b09e5e88134708858.tar.gz |
Merge branch 'master' of git.php.net:php-src
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r-- | sapi/phpdbg/phpdbg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index a4f36eeced..ecfe7a9249 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -1343,9 +1343,10 @@ int main(int argc, char **argv) /* {{{ */ struct sigaction signal_struct; signal_struct.sa_sigaction = phpdbg_signal_handler; signal_struct.sa_flags = SA_SIGINFO | SA_NODEFER; + sigemptyset(&signal_struct.sa_mask); sigio_struct.sa_sigaction = phpdbg_sigio_handler; sigio_struct.sa_flags = SA_SIGINFO; - + sigemptyset(&sigio_struct.sa_mask); address = strdup("127.0.0.1"); #endif |