cvs: php4 /main main.c
| From: | Sascha Schumann | Date: | Sun, 27 Aug 2000 19:40:21 +0000 |
| Subject: | cvs: php4 /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1420@lists.php.net to get a copy of this message | ||
sas Sun Aug 27 12:40:21 2000 EDT
Modified files:
/php4/main main.c
Log:
Initializing new_path once is enough
Index: php4/main/main.c
diff -u php4/main/main.c:1.299 php4/main/main.c:1.300
--- php4/main/main.c:1.299 Sun Aug 27 12:38:18 2000
+++ php4/main/main.c Sun Aug 27 12:40:21 2000
@@ -19,7 +19,7 @@
*/
-/* $Id: main.c,v 1.299 2000/08/27 19:38:18 sas Exp $ */
+/* $Id: main.c,v 1.300 2000/08/27 19:40:21 sas Exp $ */
#include <stdio.h>
@@ -1106,7 +1106,7 @@
zend_file_handle *prepend_file_p, *append_file_p;
zend_file_handle prepend_file, append_file;
char old_cwd[4096];
- char new_path[4096] = "";
+ char new_path[4096];
SLS_FETCH();
old_cwd[0] = new_path[0] = '\0';