From c0a9bffd03e62822959ba8cb0e8b083f1ec4b871 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 1 Sep 2003 02:05:32 +0000 Subject: * cygheap.cc (cygheap_init): Allocate space for sigaction array in cygheap. * cygheap.h (cygheap_types): Add HEAP_SIGS. * exceptions.cc (signal_fixup_after_exec): Remove from this file. * pinfo.h (pinfo::getsig): Just return global_sigs array. (pinfo::sigs): Delete. * sigproc.cc (signal_fixup_after_exec): Move it here. (global_sigs): New global array, moved from pinfo structure. (sigalloc): New function. Allocate global sigaction array here. (proc_subproc): Remove copysigs call. It's automatic now. * include/sys/cygwin.h (PID_NOCLDSTOP): New value. * signal.cc (sigaction): Set myself->PID_NODCLDSTOP when appropriate. * sigproc.h (sigalloc): Declare. * fnmatch.c (fnmatch): Use C90 parameters. (rangematch): Ditto. * fhandler.cc (fhandler_base::raw_read): Use right coercion to avoid a compiler warning. --- winsup/cygwin/include/sys/cygwin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/include/sys/cygwin.h') diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h index dccff2068..ed0aa8dca 100644 --- a/winsup/cygwin/include/sys/cygwin.h +++ b/winsup/cygwin/include/sys/cygwin.h @@ -92,7 +92,7 @@ enum PID_SPLIT_HEAP = 0x0100, /* Set if the heap has been split, */ /* which means we can't fork again. */ PID_MYSELF = 0x0200, /* Flag that pid is me. */ - PID_UNUSED1 = 0x0400, /* Set if process uses Winsock. */ + PID_NOCLDSTOP = 0x0400, /* Set if no SIGCHLD signal on stop. */ PID_INITIALIZING = 0x0800, /* Set until ready to receive signals. */ PID_USETTY = 0x1000, /* Setting this enables or disables cygwin's */ /* tty support. This is inherited by */ -- cgit v1.2.3