1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Prefix pointer value with 0x.

This commit is contained in:
hniksic 2005-07-04 14:15:50 -07:00
parent adcb1f10ec
commit e4f85cdef3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-07-04 Hrvoje Niksic <hniksic@xemacs.org>
* xmalloc.c (debugging_free): Prefix hex pointer value with "0x"
when printing.
2005-07-04 Hrvoje Niksic <hniksic@xemacs.org> 2005-07-04 Hrvoje Niksic <hniksic@xemacs.org>
* utils.c (NEXT_BASE64_CHAR): Rename to NEXT_CHAR and simplify to * utils.c (NEXT_BASE64_CHAR): Rename to NEXT_CHAR and simplify to

View File

@ -357,7 +357,7 @@ debugging_free (void *ptr, const char *source_file, int source_line)
} }
if (!unregister_ptr (ptr)) if (!unregister_ptr (ptr))
{ {
fprintf (stderr, "%s: bad xfree(%0*lx) at %s:%d\n", fprintf (stderr, "%s: bad xfree(0x%0*lx) at %s:%d\n",
exec_name, PTR_FORMAT (ptr), source_file, source_line); exec_name, PTR_FORMAT (ptr), source_file, source_line);
abort (); abort ();
} }