From 3ef50005c759d5dbdb5a7b31730bf836a6519ab0 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 9 Sep 2003 03:11:31 +0000 Subject: * dcrt0.cc (dlL_crt0_1): Set __argc_safe after __argc is absolutely know to be set. * exceptions.cc (sig_handle_tty_stop): Don't reset sigCONT event since it is reset automatically. * fork.cc (fork): Remove obsolete usage of PID_SPLIT_HEAP. * include/sys/cygwin.h: Ditto. * sigproc.cc (sig_send): Use sigframe init method to set frame since it checks for previous ownership of the frame. * sigproc.h (sigframe::init): Accept an "is_exception" argument. --- winsup/cygwin/fork.cc | 9 --------- 1 file changed, 9 deletions(-) (limited to 'winsup/cygwin/fork.cc') diff --git a/winsup/cygwin/fork.cc b/winsup/cygwin/fork.cc index 021b83250..f948209d3 100644 --- a/winsup/cygwin/fork.cc +++ b/winsup/cygwin/fork.cc @@ -633,15 +633,6 @@ fork () grouped.hParent = grouped.first_dll = NULL; grouped.load_dlls = 0; - if (ISSTATE(myself, PID_SPLIT_HEAP)) - { - system_printf ("The heap has been split, CYGWIN can't fork this process."); - system_printf ("Increase the heap_chunk_size in the registry and try again."); - set_errno (ENOMEM); - syscall_printf ("-1 = fork (), split heap"); - return -1; - } - void *esp; __asm__ volatile ("movl %%esp,%0": "=r" (esp)); -- cgit v1.2.3