cvs: php-src(PHP_5_2) /main SAPI.c
| From: | Antony Dovgal | Date: | Wed, 25 Apr 2007 11:05:16 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /main SAPI.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-44079@lists.php.net to get a copy of this message | ||
tony2001 Wed Apr 25 11:05:16 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/main SAPI.c
Log:
fix ZTS build
http://cvs.php.net/viewvc.cgi/php-src/main/SAPI.c?r1=1.202.2.7.2.11&r2=1.202.2.7.2.12&diff_format=u
Index: php-src/main/SAPI.c
diff -u php-src/main/SAPI.c:1.202.2.7.2.11 php-src/main/SAPI.c:1.202.2.7.2.12
--- php-src/main/SAPI.c:1.202.2.7.2.11 Wed Apr 25 08:40:07 2007
+++ php-src/main/SAPI.c Wed Apr 25 11:05:16 2007
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: SAPI.c,v 1.202.2.7.2.11 2007/04/25 08:40:07 dmitry Exp $ */
+/* $Id: SAPI.c,v 1.202.2.7.2.12 2007/04/25 11:05:16 tony2001 Exp $ */
#include <ctype.h>
#include <sys/stat.h>
@@ -881,6 +881,7 @@
SAPI_API int sapi_register_default_post_reader(void (*default_post_reader)(TSRMLS_D))
{
+ TSRMLS_FETCH();
if (EG(in_execution)) {
return FAILURE;
}
@@ -891,6 +892,7 @@
SAPI_API int sapi_register_treat_data(void (*treat_data)(int arg, char *str, zval *destArray
TSRMLS_DC))
{
+ TSRMLS_FETCH();
if (EG(in_execution)) {
return FAILURE;
}
@@ -900,6 +902,7 @@
SAPI_API int sapi_register_input_filter(unsigned int (*input_filter)(int arg, char *var, char
**val, unsigned int val_len, unsigned int *new_val_len TSRMLS_DC))
{
+ TSRMLS_FETCH();
if (EG(in_execution)) {
return FAILURE;
}