diff options
author | Christopher Faylor <me@cgf.cx> | 2001-09-06 03:39:18 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-09-06 03:39:18 +0000 |
commit | 4ce15a498010f678c71cefdf2a2ac0db58f4fa93 (patch) | |
tree | 67498c2416dddf7295358edc848708c05ac3d047 /winsup/cygwin/fork.cc | |
parent | 0fb61528c94f959e5c1bfc9aeab7e09d0dcbf54b (diff) | |
download | cygnal-4ce15a498010f678c71cefdf2a2ac0db58f4fa93.tar.gz cygnal-4ce15a498010f678c71cefdf2a2ac0db58f4fa93.tar.bz2 cygnal-4ce15a498010f678c71cefdf2a2ac0db58f4fa93.zip |
* cygheap.h (init_cygheap): Move bucket array here from cygheap.cc.
* cygheap.cc: Throughout use bucket array from cygheap.
* sigproc.cc (proc_subproc): Dynamically allocate zombie buffer to save DLL
space.
(sigproc_fixup_after_fork): Free zombie array after a fork.
* sigproc.h (sigproc_fixup_after_fork): Declare.
* dir.cc (mkdir): Expand buffer for security descriptor to 4K to avoid stack
corruption.
* fhandler.cc (fhandler_base::open): Ditto.
* path.cc (symlink): Ditto.
Diffstat (limited to 'winsup/cygwin/fork.cc')
-rw-r--r-- | winsup/cygwin/fork.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/fork.cc b/winsup/cygwin/fork.cc index 834c356d7..173c02b1b 100644 --- a/winsup/cygwin/fork.cc +++ b/winsup/cygwin/fork.cc @@ -279,6 +279,7 @@ fork_child (HANDLE& hParent, dll *&first_dll, bool& load_dlls) debug_fixup_after_fork (); pinfo_fixup_after_fork (); cygheap->fdtab.fixup_after_fork (hParent); + sigproc_fixup_after_fork (); signal_fixup_after_fork (); MALLOC_CHECK; |