Re: cvs: php4 /ext/standard dir.c
| From: | Sterling Hughes | Date: | Mon, 09 Apr 2001 09:02:41 +0000 |
| Subject: | Re: cvs: php4 /ext/standard dir.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-5056@lists.php.net to get a copy of this message | ||
On Mon, 9 Apr 2001, Sean Bright wrote:
> 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>
>
Should be CONST_CS|CONST_PERSISTENT no?
>
> 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;
> }
>
>
>
>
--
Alavilla mailla hallanvaara