cvs: php4 /main main.c php_globals.h
| From: | Sascha Schumann | Date: | Fri, 13 Jul 2001 16:08:39 +0000 |
| Subject: | cvs: php4 /main main.c php_globals.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6212@lists.php.net to get a copy of this message | ||
sas Fri Jul 13 12:08:39 2001 EDT
Modified files:
/php4/main main.c php_globals.h
Log:
Fix xmlrpc_error:number handling
Index: php4/main/main.c
diff -u php4/main/main.c:1.373 php4/main/main.c:1.374
--- php4/main/main.c:1.373 Tue Jul 10 11:59:33 2001
+++ php4/main/main.c Fri Jul 13 12:08:38 2001
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.373 2001/07/10 15:59:33 sas Exp $ */
+/* $Id: main.c,v 1.374 2001/07/13 16:08:38 sas Exp $ */
/* {{{ includes
*/
@@ -203,7 +203,7 @@
STD_PHP_INI_BOOLEAN("expose_php", "1", PHP_INI_SYSTEM, OnUpdateBool, expose_php, php_core_globals, core_globals)
STD_PHP_INI_BOOLEAN("html_errors", "1", PHP_INI_SYSTEM, OnUpdateBool, html_errors, php_core_globals, core_globals)
STD_PHP_INI_BOOLEAN("xmlrpc_errors", "0", PHP_INI_SYSTEM, OnUpdateBool, xmlrpc_errors, php_core_globals, core_globals)
- STD_PHP_INI_ENTRY("xmlrpc_error_number", "0", PHP_INI_ALL, OnUpdateString, xmlrpc_error_number, php_core_globals, core_globals)
+ STD_PHP_INI_ENTRY("xmlrpc_error_number", "0", PHP_INI_ALL, OnUpdateInt, xmlrpc_error_number, php_core_globals, core_globals)
STD_PHP_INI_BOOLEAN("ignore_user_abort", "0", PHP_INI_ALL, OnUpdateBool, ignore_user_abort, php_core_globals, core_globals)
STD_PHP_INI_BOOLEAN("implicit_flush", "0", PHP_INI_PERDIR|PHP_INI_SYSTEM,OnUpdateBool, implicit_flush, php_core_globals, core_globals)
STD_PHP_INI_BOOLEAN("log_errors", "0", PHP_INI_ALL, OnUpdateBool, log_errors, php_core_globals, core_globals)
Index: php4/main/php_globals.h
diff -u php4/main/php_globals.h:1.65 php4/main/php_globals.h:1.66
--- php4/main/php_globals.h:1.65 Tue Jul 10 11:59:33 2001
+++ php4/main/php_globals.h Fri Jul 13 12:08:39 2001
@@ -125,7 +125,7 @@
zend_bool html_errors;
zend_bool xmlrpc_errors;
- short xmlrpc_error_number;
+ long xmlrpc_error_number;
zend_bool modules_activated;