cvs: php4 /ext/standard dir.c
| From: | Sean Bright | Date: | Mon, 09 Apr 2001 20:56:49 +0000 |
| Subject: | cvs: php4 /ext/standard dir.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5055@lists.php.net to get a copy of this message | ||
elixer Mon Apr 9 13:56:49 2001 EDT
Modified files:
/php4/ext/standard dir.c
Log:
Stop SIGSEGV on Apache startup. Patch from <adam@indexdata.dk>
Index: php4/ext/standard/dir.c
diff -u php4/ext/standard/dir.c:1.59 php4/ext/standard/dir.c:1.60
--- php4/ext/standard/dir.c:1.59 Sun Apr 8 14:57:13 2001
+++ php4/ext/standard/dir.c Mon Apr 9 13:56:49 2001
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dir.c,v 1.59 2001/04/08 21:57:13 ssb Exp $ */
+/* $Id: dir.c,v 1.60 2001/04/09 20:56:49 elixer Exp $ */
/* {{{ includes/startup/misc */
@@ -141,7 +141,7 @@
#endif
tmpstr[0] = DEFAULT_SLASH;
tmpstr[1] = '\0';
- REGISTER_STRING_CONSTANT("DIRECTORY_SEPARATOR", tmpstr, 0);
+ REGISTER_STRING_CONSTANT("DIRECTORY_SEPARATOR", tmpstr, CONST_PERSISTENT);
return SUCCESS;
}