cvs: /php4 main.c
| From: | Sascha Schumann | Date: | Fri, 17 Sep 1999 01:16:54 +0000 |
| Subject: | cvs: /php4 main.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4548@lists.php.net to get a copy of this message | ||
sas Thu Sep 16 21:16:54 1999 EDT
Modified files:
/php4 main.c
Log:
0' flag ignored with precision specifier and X' format
Index: php4/main.c
diff -u php4/main.c:1.123 php4/main.c:1.124
--- php4/main.c:1.123 Thu Sep 16 19:18:15 1999
+++ php4/main.c Thu Sep 16 21:16:54 1999
@@ -19,7 +19,7 @@
*/
-/* $Id: main.c,v 1.123 1999/09/16 23:18:15 zeev Exp $ */
+/* $Id: main.c,v 1.124 1999/09/17 01:16:54 sas Exp $ */
#include <stdio.h>
@@ -615,7 +615,7 @@
mem_header *t = (mem_header *) data;
void *ptr = (void *)((char *)t+sizeof(mem_header)+PLATFORM_PADDING);
- snprintf(memory_leak_buf, 512, "%s(%d) : Freeing 0x%0.8lX (%d bytes),
script=%s\n", t->filename, t->lineno, (unsigned long)ptr, t->size,
SAFE_FILENAME(SG(request_info).path_translated));
+ snprintf(memory_leak_buf, 512, "%s(%d) : Freeing 0x%.8lX (%d bytes), script=%s\n",
t->filename, t->lineno, (unsigned long)ptr, t->size,
SAFE_FILENAME(SG(request_info).path_translated));
if (t->orig_filename) {
char relay_buf[512];