cvs: ZendEngine2 / zend_hash.c
| From: | Antony Dovgal | Date: | Fri, 17 Jun 2005 10:50:20 +0000 |
| Subject: | cvs: ZendEngine2 / zend_hash.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3825@lists.php.net to get a copy of this message | ||
tony2001 Fri Jun 17 06:50:20 2005 EDT
Modified files:
/ZendEngine2 zend_hash.c
Log:
fix bug #33382 (array_reverse() fails after *sort())
no need to MFH - the bug existed only in HEAD
http://cvs.php.net/diff.php/ZendEngine2/zend_hash.c?r1=1.118&r2=1.119&ty=u
Index: ZendEngine2/zend_hash.c
diff -u ZendEngine2/zend_hash.c:1.118 ZendEngine2/zend_hash.c:1.119
--- ZendEngine2/zend_hash.c:1.118 Mon Apr 25 04:21:15 2005
+++ ZendEngine2/zend_hash.c Fri Jun 17 06:50:15 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_hash.c,v 1.118 2005/04/25 08:21:15 sniper Exp $ */
+/* $Id: zend_hash.c,v 1.119 2005/06/17 10:50:15 tony2001 Exp $ */
#include "zend.h"
@@ -1145,7 +1145,7 @@
arTmp[j]->pListLast = arTmp[j-1];
arTmp[j]->pListNext = arTmp[j+1];
}
- arTmp[j]->pListLast = ht->pListTail;
+ arTmp[j]->pListLast = arTmp[j-1];
arTmp[j]->pListNext = NULL;
} else {
arTmp[0]->pListNext = NULL;