com php-src: Fix noalias violation in select call: sapi/cli/php _cli.c

From: Date: Fri, 23 Aug 2019 14:18:59 +0000
Subject: com php-src: Fix noalias violation in select call: sapi/cli/php _cli.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-108011@lists.php.net to get a copy of this message
Commit: 7910f128e296ef66a660935d652fd568941665fc Author: Nikita Popov <nikita.ppv@gmail.com> Fri, 23 Aug 2019 16:18:15 +0200 Parents: 6534ff13cd1e0b181f079e675c92dba15b604a5f Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7910f128e296ef66a660935d652fd568941665fc Log: Fix noalias violation in select call Changed paths: M sapi/cli/php_cli.c Diff: diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 4b2af96..0700e79 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -236,19 +236,18 @@ static void print_extensions(void) /* {{{ */ static inline int sapi_cli_select(php_socket_t fd) { - fd_set wfd, dfd; + fd_set wfd; struct timeval tv; int ret; FD_ZERO(&wfd); - FD_ZERO(&dfd); PHP_SAFE_FD_SET(fd, &wfd); tv.tv_sec = (long)FG(default_socket_timeout); tv.tv_usec = 0; - ret = php_select(fd+1, &dfd, &wfd, &dfd, &tv); + ret = php_select(fd+1, NULL, &wfd, NULL, &tv); return ret != -1; }

« previous php.cvs (#108011) next »