andrei Tue Oct 24 15:35:16 2006 UTC
Modified files:
/ZendEngine2 zend_hash.c
Log:
Fix key length calculation.
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_hash.c?r1=1.140&r2=1.141&diff_format=u
Index: ZendEngine2/zend_hash.c
diff -u ZendEngine2/zend_hash.c:1.140 ZendEngine2/zend_hash.c:1.141
--- ZendEngine2/zend_hash.c:1.140 Fri Oct 20 10:33:31 2006
+++ ZendEngine2/zend_hash.c Tue Oct 24 15:35:16 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_hash.c,v 1.140 2006/10/20 10:33:31 tony2001 Exp $ */
+/* $Id: zend_hash.c,v 1.141 2006/10/24 15:35:16 andrei Exp $ */
#include "zend.h"
#include "zend_operators.h"
@@ -61,6 +61,7 @@
} else { \
type = IS_UNICODE; \
tmp = arKey.u = u; \
+ nKeyLength = u_len + 1; \
} \
}
--
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|