summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/child_info.h2
-rw-r--r--winsup/cygwin/debug.h6
-rw-r--r--winsup/cygwin/fork.cc1
3 files changed, 1 insertions, 8 deletions
diff --git a/winsup/cygwin/child_info.h b/winsup/cygwin/child_info.h
index 7827d853f..983675877 100644
--- a/winsup/cygwin/child_info.h
+++ b/winsup/cygwin/child_info.h
@@ -12,7 +12,7 @@ details. */
enum
{
- PROC_MAGIC = 0xaf13f000,
+ PROC_MAGIC = 0xaf12f000,
PROC_FORK = PROC_MAGIC + 1,
PROC_EXEC = PROC_MAGIC + 2,
PROC_SPAWN = PROC_MAGIC + 3,
diff --git a/winsup/cygwin/debug.h b/winsup/cygwin/debug.h
index fdd3d3ccd..8323e617a 100644
--- a/winsup/cygwin/debug.h
+++ b/winsup/cygwin/debug.h
@@ -13,12 +13,6 @@ details. */
#include "dlmalloc.h"
#define MALLOC_CHECK ({\
debug_printf ("checking malloc pool");\
- free (malloc (20));\
- free (malloc (128));\
- free (malloc (4096));\
- free (malloc (16384));\
- free (malloc (32768));\
- free (malloc (65536));\
(void)mallinfo ();\
})
#endif
diff --git a/winsup/cygwin/fork.cc b/winsup/cygwin/fork.cc
index adac0ce9d..78d1abe01 100644
--- a/winsup/cygwin/fork.cc
+++ b/winsup/cygwin/fork.cc
@@ -315,7 +315,6 @@ fork_child (HANDLE& hParent, dll *&first_dll, bool& load_dlls)
/* Initialize signal/process handling */
sigproc_init ();
__pthread_atforkchild ();
- MALLOC_CHECK;
cygbench ("fork-child");
return 0;
}