cvs: php4(PHP_4_2_0) /main php_variables.c
| From: | Yasuo Ohgaki | Date: | Thu, 01 Aug 2002 02:21:00 +0000 |
| Subject: | cvs: php4(PHP_4_2_0) /main php_variables.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13070@lists.php.net to get a copy of this message | ||
yohgaki Wed Jul 31 22:21:00 2002 EDT
Modified files: (Branch: PHP_4_2_0)
/php4/main php_variables.c
Log:
MFH
Cannot take NULL w/o mbstring.
Index: php4/main/php_variables.c
diff -u php4/main/php_variables.c:1.35.2.2 php4/main/php_variables.c:1.35.2.3
--- php4/main/php_variables.c:1.35.2.2 Sun Jul 28 05:26:43 2002
+++ php4/main/php_variables.c Wed Jul 31 22:21:00 2002
@@ -16,7 +16,7 @@
| Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_variables.c,v 1.35.2.2 2002/07/28 09:26:43 yohgaki Exp $ */
+/* $Id: php_variables.c,v 1.35.2.3 2002/08/01 02:21:00 yohgaki Exp $ */
#include <stdio.h>
#include "php.h"
@@ -304,7 +304,7 @@
php_register_variable_safe(var, val, val_len, array_ptr TSRMLS_CC);
}
else {
- php_register_variable_safe(var, NULL, 0, array_ptr TSRMLS_CC);
+ php_register_variable_safe(var, "", 0, array_ptr TSRMLS_CC);
}
var = php_strtok_r(NULL, separator, &strtok_buf);