* spawn.cc (spawn_guts): Don't set cwd for non-Cygwin child processes
on NT to allow starting them in virtual directories.
This commit is contained in:
parent
2397d888b1
commit
45fa1f99c6
|
@ -1,3 +1,8 @@
|
|||
2007-01-18 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* spawn.cc (spawn_guts): Don't set cwd for non-Cygwin child processes
|
||||
on NT to allow starting them in virtual directories.
|
||||
|
||||
2007-01-18 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* mmap.cc (list::hash): Fix type to __ino64_t.
|
||||
|
|
|
@ -507,7 +507,8 @@ loop:
|
|||
TRUE, /* inherit handles from parent */
|
||||
c_flags,
|
||||
envblock, /* environment */
|
||||
real_path.iscygexec () ? NULL : cygheap->cwd.win32,
|
||||
wincap.is_winnt () || real_path.iscygexec () ?
|
||||
NULL : cygheap->cwd.win32,
|
||||
&si,
|
||||
&pi);
|
||||
}
|
||||
|
@ -542,7 +543,8 @@ loop:
|
|||
TRUE, /* inherit handles from parent */
|
||||
c_flags,
|
||||
envblock, /* environment */
|
||||
real_path.iscygexec () ? NULL : cygheap->cwd.win32,
|
||||
wincap.is_winnt () || real_path.iscygexec () ?
|
||||
NULL : cygheap->cwd.win32,
|
||||
&si,
|
||||
&pi);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue