cvs: /php4 main.c
| From: | Andi Gutmans | Date: | Sat, 14 Aug 1999 09:55:43 +0000 |
| Subject: | cvs: /php4 main.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-3420@lists.php.net to get a copy of this message | ||
andi Sat Aug 14 05:55:43 1999 EDT
Modified files:
/php4 main.c
Log:
- Make the non-threadsafe version compile again
Index: php4/main.c
diff -u php4/main.c:1.96 php4/main.c:1.97
--- php4/main.c:1.96 Fri Aug 13 17:03:26 1999
+++ php4/main.c Sat Aug 14 05:55:43 1999
@@ -19,7 +19,7 @@
*/
-/* $Id: main.c,v 1.96 1999/08/13 21:03:26 zeev Exp $ */
+/* $Id: main.c,v 1.97 1999/08/14 09:55:43 andi Exp $ */
#include <stdio.h>
@@ -804,9 +804,8 @@
zuf.get_ini_entry = php_get_ini_entry_for_zend;
zend_startup(&zuf, NULL);
- tsrm_set_new_thread_end_handler(php_new_thread_end_handler);
-
#ifdef ZTS
+ tsrm_set_new_thread_end_handler(php_new_thread_end_handler);
core_globals_id = ts_allocate_id(sizeof(php_core_globals), NULL, NULL);
core_globals = ts_resource(core_globals_id);
#endif