Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-09-01 06:05:32 +0400
committerChristopher Faylor <me@cgf.cx>2003-09-01 06:05:32 +0400
commitc0a9bffd03e62822959ba8cb0e8b083f1ec4b871 (patch)
tree082ab97e9d152193eabac86503a27cf467becb6a /winsup/cygwin/cygheap.h
parent40d885eb7bb53e9f049f999a23d6aa9087649009 (diff)
* 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/cygheap.h')
-rw-r--r--winsup/cygwin/cygheap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h
index 2211af2be..7a637fa04 100644
--- a/winsup/cygwin/cygheap.h
+++ b/winsup/cygwin/cygheap.h
@@ -17,6 +17,7 @@ enum cygheap_types
HEAP_ARGV,
HEAP_BUF,
HEAP_MOUNT,
+ HEAP_SIGS,
HEAP_1_START,
HEAP_1_STR,
HEAP_1_ARGV,
@@ -255,6 +256,7 @@ struct init_cygheap
#ifdef DEBUGGING
cygheap_debug debug;
#endif
+ struct sigaction *sigs;
};
#define CYGHEAPSIZE (sizeof (init_cygheap) + (16000 * sizeof (fhandler_union)) + (5 * 65536))