summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/sigproc.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-08-06 05:48:33 +0000
committerChristopher Faylor <me@cgf.cx>2002-08-06 05:48:33 +0000
commit115a0885bcc97a70bb4314ba851ce12ee32fe74f (patch)
tree1a8adda3ac5a5357e172aefbd1f07299875cf706 /winsup/cygwin/sigproc.cc
parent1524ae42cf8595fd9a31084382ade0ff17172626 (diff)
downloadcygnal-115a0885bcc97a70bb4314ba851ce12ee32fe74f.tar.gz
cygnal-115a0885bcc97a70bb4314ba851ce12ee32fe74f.tar.bz2
cygnal-115a0885bcc97a70bb4314ba851ce12ee32fe74f.zip
* spawn.cc (spawn_guts): Don't set mount_h here.
* sigproc.cc (init_child_info): Set it here instead. * shared.cc (cygwin_mount_h): Make NO_COPY.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r--winsup/cygwin/sigproc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index 96ba45a5b..4914e6a24 100644
--- a/winsup/cygwin/sigproc.cc
+++ b/winsup/cygwin/sigproc.cc
@@ -828,6 +828,7 @@ init_child_info (DWORD chtype, child_info *ch, pid_t pid, HANDLE subproc_ready)
ch->subproc_ready = subproc_ready;
ch->pppid_handle = myself->ppid_handle;
ch->fhandler_union_cb = sizeof (fhandler_union);
+ ch->mount_h = cygwin_mount_h;
}
/* Check the state of all of our children to see if any are stopped or