diff options
author | Peter Foley <pefoley2@pefoley.com> | 2016-03-31 21:04:17 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-04-01 14:53:25 +0300 |
commit | b259af51b8c20850835f02d2db7b2f9c26203acc (patch) | |
tree | 42017f1c28f2dd34cdbb3edec0c720eaab3155d6 /winsup/cygwin/malloc_wrapper.cc | |
parent | 02cfe004458f20f95539db14251f2473a842fc95 (diff) |
Remove remnants of never-defined MALLOC_DEBUG and NEWVFORK
MALLOC_DEBUG and NEWVFORK haven't been defined since 2008 (46162537516c5e5fbb).
Remove all references to tem.
winsup/cygwin/ChangeLog:
acconfig.h: delete
dcrt0.cc (dll_crt0_1): remove NEWVFORK code.
dcrt0.cc (do_exit): ditto.
debug.h: ditto.
dtable.h: ditto.
winsup.h: ditto.
globals.cc: ditto.
malloc_wrapper.cc: ditto.
malloc_wrapper.cc (malloc_init): ditto.
spawn.cc (spawnve): ditto.
syscalls.cc (setsid): ditto.
Signed-off-by: Peter Foley <pefoley2@pefoley.com>
Diffstat (limited to 'winsup/cygwin/malloc_wrapper.cc')
-rw-r--r-- | winsup/cygwin/malloc_wrapper.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/winsup/cygwin/malloc_wrapper.cc b/winsup/cygwin/malloc_wrapper.cc index 0db5de839..80989526f 100644 --- a/winsup/cygwin/malloc_wrapper.cc +++ b/winsup/cygwin/malloc_wrapper.cc @@ -18,9 +18,7 @@ details. */ #include "perprocess.h" #include "miscfuncs.h" #include "cygmalloc.h" -#ifndef MALLOC_DEBUG #include <malloc.h> -#endif extern "C" struct mallinfo dlmallinfo (); /* we provide these stubs to call into a user's @@ -281,7 +279,6 @@ malloc_init () { mallock.init ("mallock"); -#ifndef MALLOC_DEBUG /* Check if malloc is provided by application. If so, redirect all calls to malloc/free/realloc to application provided. This may happen if some other dll calls cygwin's malloc, but main code provides @@ -296,7 +293,6 @@ malloc_init () malloc_printf ("using %s malloc", use_internal ? "internal" : "external"); internal_malloc_determined = true; } -#endif } extern "C" void |