Re: Patch for bug #19566

From: Date: Fri, 15 Nov 2002 12:11:35 +0000
Subject: Re: Patch for bug #19566
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-91087@lists.php.net to get a copy of this message
Hmm, your patch is a bit less sexy because of replaced white spaces. Moriyoshi marcus.boerger@t-online.de (Marcus Börger) wrote: > The following patch for bug #19566 is open but should make it into 4.3. > > cvs -z3 -q diff zend_hash.c (in directory S:\php4-HEAD\Zend\) > Index: zend_hash.c > =================================================================== > RCS file: /repository/ZendEngine2/zend_hash.c,v > retrieving revision 1.93 > diff -u -r1.93 zend_hash.c > --- zend_hash.c 5 Nov 2002 18:22:02 -0000 1.93 > +++ zend_hash.c 15 Nov 2002 10:49:12 -0000 > @@ -722,9 +722,9 @@ > > HASH_PROTECT_RECURSION(ht); > > - va_start(args, num_args); > p = ht->pListHead; > while (p != NULL) { > + va_start(args, num_args); > hash_key.arKey = p->arKey; > hash_key.nKeyLength = p->nKeyLength; > hash_key.h = p->h; > @@ -733,8 +733,8 @@ > } else { > p = p->pListNext; > } > + va_end(args); > } > - va_end(args); > > HASH_UNPROTECT_RECURSION(ht); > } > > >

« previous php.dev (#91087) next »