* 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.
This commit is contained in:
Christopher Faylor 2002-08-06 05:48:33 +00:00
parent 1524ae42cf
commit 115a0885bc
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-08-06 Christopher Faylor <cgf@redhat.com>
* 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.
2002-08-06 Christopher Faylor <cgf@redhat.com>
* cygthread.cc (cygthread::stub): Accept flag to pass info structure to

View File

@ -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

View File

@ -608,7 +608,6 @@ spawn_guts (const char * prog_arg, const char *const *argv,
char sa_buf[1024];
cygbench ("spawn-guts");
ciresrv.mount_h = cygwin_mount_h;
if (!cygheap->user.issetuid ())
{