summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fork.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/fork.cc')
-rw-r--r--winsup/cygwin/fork.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/fork.cc b/winsup/cygwin/fork.cc
index 44fc49dc2..baa5a9599 100644
--- a/winsup/cygwin/fork.cc
+++ b/winsup/cygwin/fork.cc
@@ -17,7 +17,7 @@ details. */
#include "winsup.h"
#include "dll_init.h"
-DWORD chunksize = 0;
+DWORD NO_COPY chunksize = 0;
/* Timeout to wait for child to start, parent to init child, etc. */
/* FIXME: Once things stabilize, bump up to a few minutes. */
#define FORK_WAIT_TIMEOUT (300 * 1000) /* 300 seconds */
@@ -516,6 +516,7 @@ fork ()
MALLOC_CHECK;
dtable.fixup_after_fork (hParent);
+ signal_fixup_after_fork ();
ForceCloseHandle (hParent);
MALLOC_CHECK;