diff options
author | Christopher Faylor <me@cgf.cx> | 2003-09-01 06:05:32 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-09-01 06:05:32 +0400 |
commit | c0a9bffd03e62822959ba8cb0e8b083f1ec4b871 (patch) | |
tree | 082ab97e9d152193eabac86503a27cf467becb6a /winsup/cygwin/fhandler.cc | |
parent | 40d885eb7bb53e9f049f999a23d6aa9087649009 (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/fhandler.cc')
-rw-r--r-- | winsup/cygwin/fhandler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index 05dfa79ec..453eda4ae 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -264,7 +264,7 @@ fhandler_base::raw_read (void *ptr, size_t& ulen) int prio = 0; /* ditto */ DWORD len = ulen; - (ssize_t) ulen = -1; + ulen = (size_t) -1; if (read_state) { h = GetCurrentThread (); |