elixer          Mon Apr  9 13:56:49 2001 EDT

  Modified files:              
    /php4/ext/standard  dir.c 
  Log:
  Stop SIGSEGV on Apache startup.  Patch from <[EMAIL PROTECTED]>
  
  
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;
 }



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to