cvs: ZendEngine2 / zend_hash.c
| From: | Johannes Schl�ter | Date: | Wed, 01 Nov 2006 20:04:19 +0000 |
| Subject: | cvs: ZendEngine2 / zend_hash.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-5362@lists.php.net to get a copy of this message | ||
johannes Wed Nov 1 20:04:19 2006 UTC
Modified files:
/ZendEngine2 zend_hash.c
Log:
- restoring init of the uni str which has been removed (patch by Pierre)
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_hash.c?r1=1.142&r2=1.143&diff_format=u
Index: ZendEngine2/zend_hash.c
diff -u ZendEngine2/zend_hash.c:1.142 ZendEngine2/zend_hash.c:1.143
--- ZendEngine2/zend_hash.c:1.142 Tue Oct 31 22:05:56 2006
+++ ZendEngine2/zend_hash.c Wed Nov 1 20:04:19 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_hash.c,v 1.142 2006/10/31 22:05:56 helly Exp $ */
+/* $Id: zend_hash.c,v 1.143 2006/11/01 20:04:19 johannes Exp $ */
#include "zend.h"
#include "zend_operators.h"
@@ -945,6 +945,8 @@
va_start(args, num_args);
hash_key.nKeyLength = p->nKeyLength;
hash_key.h = p->h;
+ hash_key.type = p->key.type;
+ hash_key.arKey.s = p->key.arKey.s;
result = apply_func(p->pData, num_args, args, &hash_key);
if (result & ZEND_HASH_APPLY_REMOVE) {