cvs: ZendEngine2 / zend_hash.c
| From: | Sascha Schumann | Date: | Fri, 29 Aug 2003 07:34:38 +0000 |
| Subject: | cvs: ZendEngine2 / zend_hash.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1735@lists.php.net to get a copy of this message | ||
sas Fri Aug 29 03:34:38 2003 EDT
Modified files:
/ZendEngine2 zend_hash.c
Log:
improve a number of zend_debug format strings
Index: ZendEngine2/zend_hash.c
diff -u ZendEngine2/zend_hash.c:1.112 ZendEngine2/zend_hash.c:1.113
--- ZendEngine2/zend_hash.c:1.112 Mon Aug 18 17:17:26 2003
+++ ZendEngine2/zend_hash.c Fri Aug 29 03:34:37 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_hash.c,v 1.112 2003/08/18 21:17:26 zeev Exp $ */
+/* $Id: zend_hash.c,v 1.113 2003/08/29 07:34:37 sas Exp $ */
#include "zend.h"
@@ -55,13 +55,13 @@
}
switch (ht->inconsistent) {
case HT_IS_DESTROYING:
- zend_output_debug_string(1, "%s(%d) : ht=0x%08x is being destroyed", file, line, ht);
+ zend_output_debug_string(1, "%s(%d) : ht=%p is being destroyed", file, line, ht);
break;
case HT_DESTROYED:
- zend_output_debug_string(1, "%s(%d) : ht=0x%08x is already destroyed", file, line,
ht);
+ zend_output_debug_string(1, "%s(%d) : ht=%p is already destroyed", file, line, ht);
break;
case HT_CLEANING:
- zend_output_debug_string(1, "%s(%d) : ht=0x%08x is being cleaned", file, line, ht);
+ zend_output_debug_string(1, "%s(%d) : ht=%p is being cleaned", file, line, ht);
break;
}
zend_bailout();
@@ -1300,14 +1300,14 @@
for (i = 0; i < ht->nTableSize; i++) {
p = ht->arBuckets[i];
while (p != NULL) {
- zend_output_debug_string(0, "%s <==> 0x%X\n", p->arKey, p->h);
+ zend_output_debug_string(0, "%s <==> 0x%lX\n", p->arKey, p->h);
p = p->pNext;
}
}
p = ht->pListTail;
while (p != NULL) {
- zend_output_debug_string(0, "%s <==> 0x%X\n", p->arKey, p->h);
+ zend_output_debug_string(0, "%s <==> 0x%lX\n", p->arKey, p->h);
p = p->pListLast;
}
}