Re: Fwd: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/standard array.c

From: Date: Tue, 24 Apr 2001 13:49:38 +0000
Subject: Re: Fwd: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/standard array.c
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-52278@lists.php.net to get a copy of this message
I see it in RC7. On Tue, 24 Apr 2001, Andi Gutmans wrote: > Looks like it got merged before RC7. > Can you check if your source includes this fix? > > >From: "Andrei Zmievski" <andrei@ispi.net> > >To: php-cvs@lists.php.net > >Date: Mon, 02 Apr 2001 16:12:07 -0000 > >Subject: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/standard array.c > > > >andrei Mon Apr 2 09:12:07 2001 EDT > > > > Modified files: (Branch: PHP_4_0_5) > > /php4/ext/standard array.c > > Log: > > MFH > > > > > >Index: php4/ext/standard/array.c > >diff -u php4/ext/standard/array.c:1.101 php4/ext/standard/array.c:1.101.2.1 > >--- php4/ext/standard/array.c:1.101 Mon Mar 12 02:14:00 2001 > >+++ php4/ext/standard/array.c Mon Apr 2 09:12:06 2001 > >@@ -21,7 +21,7 @@ > > +----------------------------------------------------------------------+ > > */ > > > >-/* $Id: array.c,v 1.101 2001/03/12 10:14:00 stas Exp $ */ > >+/* $Id: array.c,v 1.101.2.1 2001/04/02 16:12:06 andrei Exp $ */ > > > > #include "php.h" > > #include "php_ini.h" > >@@ -2195,7 +2195,7 @@ > > switch (zend_hash_get_current_key_ex(target_hash, > > &string_key, &str_key_len, &num_key, 1, &pos)) { > > case HASH_KEY_IS_STRING: > > Z_STRVAL_P(data) = string_key; > >- Z_STRLEN_P(data) = str_key_len; > >+ Z_STRLEN_P(data) = str_key_len-1; > > Z_TYPE_P(data) = IS_STRING; > > break; > > case HASH_KEY_IS_LONG: > > > > > > > >-- > >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 > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > -Andrei A room without books is like a body without a soul. -- Marcus Tullius Cicero (106-43 B.C.)

« previous php.dev (#52278) next »