diff options
author | Christopher Faylor <me@cgf.cx> | 2003-09-01 02:05:32 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-09-01 02:05:32 +0000 |
commit | c0a9bffd03e62822959ba8cb0e8b083f1ec4b871 (patch) | |
tree | 082ab97e9d152193eabac86503a27cf467becb6a /winsup/cygwin/exceptions.cc | |
parent | 40d885eb7bb53e9f049f999a23d6aa9087649009 (diff) | |
download | cygnal-c0a9bffd03e62822959ba8cb0e8b083f1ec4b871.tar.gz cygnal-c0a9bffd03e62822959ba8cb0e8b083f1ec4b871.tar.bz2 cygnal-c0a9bffd03e62822959ba8cb0e8b083f1ec4b871.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 075b3cc92..c63ed2058 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -731,18 +731,6 @@ signal_fixup_after_fork () sigproc_init (); } -void __stdcall -signal_fixup_after_exec () -{ - /* Set up child's signal handlers */ - for (int i = 0; i < NSIG; i++) - { - myself->getsig (i).sa_mask = 0; - if (myself->getsig (i).sa_handler != SIG_IGN) - myself->getsig (i).sa_handler = SIG_DFL; - } -} - static int interrupt_on_return (sigthread *, int, void *, struct sigaction&) __attribute__((regparm(3))); static int interrupt_on_return (sigthread *th, int sig, void *handler, struct sigaction& siga) |