Hmm, your patch is a bit less sexy because of replaced white spaces.
Moriyoshi
[EMAIL PROTECTED] (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);
> }
>
>
>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php