]> sourceware.org Git - newlib-cygwin.git/commitdiff
* spawn.cc (spawn_guts): Don't set mount_h here.
authorChristopher Faylor <me@cgf.cx>
Tue, 6 Aug 2002 05:48:33 +0000 (05:48 +0000)
committerChristopher Faylor <me@cgf.cx>
Tue, 6 Aug 2002 05:48:33 +0000 (05:48 +0000)
* sigproc.cc (init_child_info): Set it here instead.
* shared.cc (cygwin_mount_h): Make NO_COPY.

winsup/cygwin/ChangeLog
winsup/cygwin/sigproc.cc
winsup/cygwin/spawn.cc

index f25d06a2d2f326698aeff0242092a98fecf20f72..723b5b482abeb88e1e3cdb93d6e7d8740f100ec1 100644 (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
index 96ba45a5b441a9f5277e591361918b73eabe1112..4914e6a24e38670e9240eaa9eed4e72a93acc1e7 100644 (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
index 7454adc58b43bc3d008ed4bd0b4726e8b6d90602..602c0af6919385927d38bc32faf849e7a9f78183 100644 (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 ())
     {
This page took 0.033679 seconds and 5 git commands to generate.