Re: Segfault with current cvs
| From: | Jon Parise | Date: | Mon, 09 Apr 2001 21:11:02 +0000 |
| Subject: | Re: Segfault with current cvs | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-51240@lists.php.net to get a copy of this message | ||
On Mon, Apr 09, 2001 at 09:33:19PM +0200, Adam Dickmeiss wrote:
> this patch seems to fix this.
>
> RCS file: /repository/php4/ext/standard/dir.c,v
> retrieving revision 1.59
> diff -u -r1.59 dir.c
> --- dir.c 2001/04/08 21:57:13 1.59
> +++ dir.c 2001/04/09 19:28:43
> @@ -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;
> }
Indeed it has. It looks like it's already been committed, too.
Thanks!
--
Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/ : Computer Science House
Member