stas Wed Aug 8 21:14:11 2007 UTC
Modified files:
/php-src/sapi/embed php_embed.c
Log:
initialize variables
http://cvs.php.net/viewvc.cgi/php-src/sapi/embed/php_embed.c?r1=1.19&r2=1.20&diff_format=u
Index: php-src/sapi/embed/php_embed.c
diff -u php-src/sapi/embed/php_embed.c:1.19 php-src/sapi/embed/php_embed.c:1.20
--- php-src/sapi/embed/php_embed.c:1.19 Wed Aug 8 21:08:51 2007
+++ php-src/sapi/embed/php_embed.c Wed Aug 8 21:14:11 2007
@@ -15,7 +15,7 @@
| Author: Edin Kadribasic <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_embed.c,v 1.19 2007/08/08 21:08:51 stas Exp $ */
+/* $Id: php_embed.c,v 1.20 2007/08/08 21:14:11 stas Exp $ */
#include "php_embed.h"
#include <ext/standard/dl.h>
@@ -155,8 +155,8 @@
{
zend_llist global_vars;
#ifdef ZTS
- sapi_globals_struct *sapi_globals;
- void ***tsrm_ls;
+ sapi_globals_struct *sapi_globals = NULL;
+ void ***tsrm_ls = NULL;
#endif
int ini_entries_len = 0;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php