cvs: php4 /ext/standard basic_functions.c
| From: | Sascha Schumann | Date: | Sun, 08 Jul 2001 23:28:50 +0000 |
| Subject: | cvs: php4 /ext/standard basic_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6122@lists.php.net to get a copy of this message | ||
sas Sun Jul 8 19:28:50 2001 EDT
Modified files:
/php4/ext/standard basic_functions.c
Log:
Reset strtok_string, so that strtok can be used in all session handler
functions.
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.355 php4/ext/standard/basic_functions.c:1.356
--- php4/ext/standard/basic_functions.c:1.355 Wed Jul 4 06:10:29 2001
+++ php4/ext/standard/basic_functions.c Sun Jul 8 19:28:48 2001
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.355 2001/07/04 10:10:29 wez Exp $ */
+/* $Id: basic_functions.c,v 1.356 2001/07/08 23:28:48 sas Exp $ */
#include "php.h"
#include "php_main.h"
@@ -885,6 +885,7 @@
BLS_FETCH();
STR_FREE(BG(strtok_string));
+ BG(strtok_string) = NULL;
#ifdef HAVE_PUTENV
zend_hash_destroy(&BG(putenv_ht));
#endif