summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-07-23 14:26:50 +0200
committerBob Weinand <bobwei9@hotmail.com>2015-07-23 14:26:50 +0200
commit6704d8d421c2148e2d9f65122e9561eb1e0d9ed1 (patch)
tree7192da192f903993162d109d614ae6ba020f7511 /sapi/phpdbg/phpdbg.c
parentb7e8f659728ffd6434d4d2ce692c9a4f5fe054a1 (diff)
downloadphp-git-6704d8d421c2148e2d9f65122e9561eb1e0d9ed1.tar.gz
Fix valgrind warning with sigaction
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r--sapi/phpdbg/phpdbg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index a4f36eeced..ad61cba6c9 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;
+ signal_struct.sa_mask = 0;
sigio_struct.sa_sigaction = phpdbg_sigio_handler;
sigio_struct.sa_flags = SA_SIGINFO;
-
+ sigio_struct.sa_mask = 0;
address = strdup("127.0.0.1");
#endif