com php-src: fix wrong doings: ext/opcache/zend_accelerator _module.c sapi/cli/php_cli_server.c sapi/cli/php _cli_server.h

From: Date: Sat, 20 Sep 2014 21:08:14 +0000
Subject: com php-src: fix wrong doings: ext/opcache/zend_accelerator _module.c sapi/cli/php_cli_server.c sapi/cli/php _cli_server.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-81824@lists.php.net to get a copy of this message
Commit: 403709aaf46f2fe563df4d9f238528428287eb92 Author: krakjoe <joe.watkins@live.co.uk> Sat, 20 Sep 2014 22:08:14 +0100 Parents: 8bbc2a56caf878898f1ae1b8ae86367959fecc2d Branches: native-tls Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=403709aaf46f2fe563df4d9f238528428287eb92 Log: fix wrong doings Changed paths: M ext/opcache/zend_accelerator_module.c M sapi/cli/php_cli_server.c M sapi/cli/php_cli_server.h Diff: diff --git a/ext/opcache/zend_accelerator_module.c b/ext/opcache/zend_accelerator_module.c index 6f9bbe5..001c3ee 100644 --- a/ext/opcache/zend_accelerator_module.c +++ b/ext/opcache/zend_accelerator_module.c @@ -449,7 +449,7 @@ static zend_module_entry accel_module_entry = { NULL, zend_accel_info, ACCELERATOR_VERSION "FE", - STANDARD_MODULE_PROPERTIES_EX + STANDARD_MODULE_PROPERTIES }; int start_accel_module(TSRMLS_D) diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c index 869c868..6e6c78f 100644 --- a/sapi/cli/php_cli_server.c +++ b/sapi/cli/php_cli_server.c @@ -112,6 +112,8 @@ #define OUTPUT_IS_TTY 1 #define OUTPUT_NOT_TTY 0 +TSRMG_D(zend_cli_server_globals, cli_server_globals_id); + typedef struct php_cli_server_poller { fd_set rfds, wfds; struct { @@ -515,7 +517,7 @@ zend_module_entry cli_server_module_entry = { NULL, PHP_MINFO(cli_server), PHP_VERSION, - STANDARD_MODULE_PROPERTIES_EX + STANDARD_MODULE_PROPERTIES }; /* }}} */ @@ -2353,7 +2355,7 @@ static int php_cli_server_send_event(php_cli_server *server, php_cli_server_clie /* }}} */ typedef struct php_cli_server_do_event_for_each_fd_callback_params { -#ifdef ZTS +#ifdef PASS_TSRMLS void ***tsrm_ls; #endif php_cli_server *server; diff --git a/sapi/cli/php_cli_server.h b/sapi/cli/php_cli_server.h index 476ee29..55810fc 100644 --- a/sapi/cli/php_cli_server.h +++ b/sapi/cli/php_cli_server.h @@ -33,6 +33,7 @@ ZEND_END_MODULE_GLOBALS(cli_server) #ifdef ZTS #define CLI_SERVER_G(v) TSRMG(cli_server_globals_id, zend_cli_server_globals *, v) +TSRMG_DH(zend_cli_server_globals, cli_server_globals_id); #else #define CLI_SERVER_G(v) (cli_server_globals.v) #endif

« previous php.cvs (#81824) next »