Re: SID was accidently changed to CONST_CS?

From: Date: Tue, 31 May 2005 14:27:28 +0000
Subject: Re: SID was accidently changed to CONST_CS?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-16345@lists.php.net to get a copy of this message
Yes, the flag change was intentional in order to create an allocated empty string. I doubt this has anything to do with the bug report though. At 11:04 AM 5/31/2005 +0300, Jani Taskinen wrote:
    Regarding this bug: http://bugs.php.net/bug.php?id=29322&edit=1
    And by looking at this commit by Andi:
http://cvs.php.net/diff.php/php-src/ext/session/session.c?r1=1.391&r2=1.392&ty=u
    and this part of it:
-               REGISTER_STRINGL_CONSTANT("SID", empty_string, 0, 0);
+               REGISTER_STRINGL_CONSTANT("SID", "", 0, 1);
    Where flags changed from 0 to 1..
    Intentional or not?
    --Jani


« previous php.internals (#16345) next »