diff options
author | Christopher Faylor <me@cgf.cx> | 2004-01-20 22:36:35 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-01-20 22:36:35 +0300 |
commit | 67fcf127c1f23d4fd5f630e72ad8304dc53b7095 (patch) | |
tree | 57077489fe3a07b7b585b268c37e31252023643e /winsup/cygwin/dlmalloc.h | |
parent | 69c7680cf75d6fe6059373220d8dcfd6e043a577 (diff) |
* include/cygwin/version.h: Bump DLL minor number to 8.
* cygmalloc.h: Make more concessions to attempts to get debugging malloc
working.
* debug.h: Ditto.
* dlmalloc.cc: Ditto.
* dlmalloc.h: Ditto.
* malloc_wrapper.cc: Ditto.
* perthread.h (perthread::create): Use calloc to ensure zeroed memory.
Diffstat (limited to 'winsup/cygwin/dlmalloc.h')
-rw-r--r-- | winsup/cygwin/dlmalloc.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/winsup/cygwin/dlmalloc.h b/winsup/cygwin/dlmalloc.h index b8d7ebeeb..d7bd86927 100644 --- a/winsup/cygwin/dlmalloc.h +++ b/winsup/cygwin/dlmalloc.h @@ -41,18 +41,18 @@ struct mallinfo { #ifdef MALLOC_DEBUG -#define dmalloc(size) malloc_dbg(size, __FILE__, __LINE__) -#define dfree(p) free_dbg(p, __FILE__, __LINE__) -#define drealloc(p, size) realloc_dbg(p, size, __FILE__, __LINE__) -#define dcalloc(n, size) calloc_dbg(n, size, __FILE__, __LINE__) -#define dmemalign(align, size) memalign_dbg(align, size, __FILE__, __LINE__) -#define dvalloc(size) valloc_dbg(size, __FILE__, __LINE__) -#define dpvalloc(size) pvalloc_dbg(size, __FILE__, __LINE__) -#define dmalloc_trim(pad) malloc_trim_dbg(pad, __FILE__, __LINE__) -#define dmalloc_usable_size(p) malloc_usable_size_dbg(p, __FILE__, __LINE__) -#define dmalloc_stats() malloc_stats_dbg(__FILE__, __LINE__) -#define dmallopt(flag, val) mallopt_dbg(flag, val, __FILE__, __LINE__) -#define dmallinfo() mallinfo_dbg(__FILE__, __LINE__) +#define dlmalloc(size) malloc_dbg(size, __FILE__, __LINE__) +#define dlfree(p) free_dbg(p, __FILE__, __LINE__) +#define dlrealloc(p, size) realloc_dbg(p, size, __FILE__, __LINE__) +#define dlcalloc(n, size) calloc_dbg(n, size, __FILE__, __LINE__) +#define dlmemalign(align, size) memalign_dbg(align, size, __FILE__, __LINE__) +#define dlvalloc(size) valloc_dbg(size, __FILE__, __LINE__) +#define dlpvalloc(size) pvalloc_dbg(size, __FILE__, __LINE__) +#define dlmalloc_trim(pad) malloc_trim_dbg(pad, __FILE__, __LINE__) +#define dlmalloc_usable_size(p) malloc_usable_size_dbg(p, __FILE__, __LINE__) +#define dlmalloc_stats() malloc_stats_dbg(__FILE__, __LINE__) +#define dlmallopt(flag, val) mallopt_dbg(flag, val, __FILE__, __LINE__) +#define dlmallinfo() mallinfo_dbg(__FILE__, __LINE__) #ifdef __cplusplus |