com php-src: Fix valgrind warning with sigaction: sapi/phpdbg/phpdbg.c
| From: | Bob Weinand | Date: | Thu, 23 Jul 2015 12:26:50 +0000 |
| Subject: | com php-src: Fix valgrind warning with sigaction: sapi/phpdbg/phpdbg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88134@lists.php.net to get a copy of this message | ||
Commit: 6704d8d421c2148e2d9f65122e9561eb1e0d9ed1
Author: Bob Weinand <bobwei9@hotmail.com> Thu, 23 Jul 2015 14:26:50 +0200
Parents: b7e8f659728ffd6434d4d2ce692c9a4f5fe054a1
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6704d8d421c2148e2d9f65122e9561eb1e0d9ed1
Log:
Fix valgrind warning with sigaction
Changed paths:
M sapi/phpdbg/phpdbg.c
Diff:
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index a4f36ee..ad61cba 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