Revert incorrect checkins.
This commit is contained in:
parent
f978840bee
commit
b3fa795ab9
@ -12,7 +12,7 @@ details. */
|
|||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
PROC_MAGIC = 0xaf13f000,
|
PROC_MAGIC = 0xaf12f000,
|
||||||
PROC_FORK = PROC_MAGIC + 1,
|
PROC_FORK = PROC_MAGIC + 1,
|
||||||
PROC_EXEC = PROC_MAGIC + 2,
|
PROC_EXEC = PROC_MAGIC + 2,
|
||||||
PROC_SPAWN = PROC_MAGIC + 3,
|
PROC_SPAWN = PROC_MAGIC + 3,
|
||||||
|
@ -13,12 +13,6 @@ details. */
|
|||||||
#include "dlmalloc.h"
|
#include "dlmalloc.h"
|
||||||
#define MALLOC_CHECK ({\
|
#define MALLOC_CHECK ({\
|
||||||
debug_printf ("checking malloc pool");\
|
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 ();\
|
(void)mallinfo ();\
|
||||||
})
|
})
|
||||||
#endif
|
#endif
|
||||||
|
@ -315,7 +315,6 @@ fork_child (HANDLE& hParent, dll *&first_dll, bool& load_dlls)
|
|||||||
/* Initialize signal/process handling */
|
/* Initialize signal/process handling */
|
||||||
sigproc_init ();
|
sigproc_init ();
|
||||||
__pthread_atforkchild ();
|
__pthread_atforkchild ();
|
||||||
MALLOC_CHECK;
|
|
||||||
cygbench ("fork-child");
|
cygbench ("fork-child");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user