Re: cvs: php4 /ext/standard string.c

From: Date: Fri, 07 Sep 2001 09:35:40 +0000
Subject: Re: cvs: php4 /ext/standard string.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-7279@lists.php.net to get a copy of this message
On Thu, Sep 06, 2001 at 08:54:54AM -0000, Sterling Hughes wrote: > sterling Thu Sep 6 04:54:54 2001 EDT > > Modified files: > /php4/ext/standard string.c > Log: > avoid lowercasing the string could you give me an example why this is needed? i don't see any calls to SEPERATE_ZVAL in any other places. re, tc > > > Index: php4/ext/standard/string.c > diff -u php4/ext/standard/string.c:1.235 php4/ext/standard/string.c:1.236 > --- php4/ext/standard/string.c:1.235 Tue Sep 4 06:44:28 2001 > +++ php4/ext/standard/string.c Thu Sep 6 04:54:54 2001 > @@ -18,7 +18,7 @@ > +----------------------------------------------------------------------+ > */ > > -/* $Id: string.c,v 1.235 2001/09/04 10:44:28 eschmid Exp $ */ > +/* $Id: string.c,v 1.236 2001/09/06 08:54:54 sterling Exp $ */ > > /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ > > @@ -1327,6 +1327,10 @@ > zend_get_parameters_ex(2, &haystack, &needle) == FAILURE) { > WRONG_PARAM_COUNT; > } > + > + SEPERATE_ZVAL(haystack); > + SEPERATE_ZVAL(needle); > + > convert_to_string_ex(haystack); > > if (!Z_STRLEN_PP(needle)) { > > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net > For additional commands, e-mail: php-cvs-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.cvs (#7279) next »