* spawn.cc (spawn_guts): Revert patch to ignore chroot settings

on creating native Win32 environment.
This commit is contained in:
Corinna Vinschen 2000-11-15 09:01:33 +00:00
parent 5ba05cab08
commit cc35b56c95
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,8 @@
Wed Nov 15 9:59:00 2000 Corinna Vinschen <corinna@vinschen.de>
* spawn.cc (spawn_guts): Revert patch to ignore chroot settings
on creating native Win32 environment.
Wed Nov 15 01:44:37 2000 Christopher Faylor <cgf@cygnus.com>
* fork.cc (slow_pid_reuse): Off-by-one.

View File

@ -554,12 +554,7 @@ skip_arg_parsing:
if (real_path.iscygexec ())
envblock = NULL;
else
{
cygheap_root sav_root (cygheap->root);
cygheap->root = NULL;
envblock = winenv (envp, 0);
cygheap->root = sav_root;
}
envblock = winenv (envp, 0);
ciresrv.cygheap = cygheap;
ciresrv.cygheap_max = cygheap_max;