From cc35b56c9550a5cdbb88aa961679044a07ccb2b1 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 15 Nov 2000 09:01:33 +0000 Subject: [PATCH] * spawn.cc (spawn_guts): Revert patch to ignore chroot settings on creating native Win32 environment. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/spawn.cc | 7 +------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index aa8ab9295..2e81104ab 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +Wed Nov 15 9:59:00 2000 Corinna Vinschen + + * spawn.cc (spawn_guts): Revert patch to ignore chroot settings + on creating native Win32 environment. + Wed Nov 15 01:44:37 2000 Christopher Faylor * fork.cc (slow_pid_reuse): Off-by-one. diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 112154056..d2338e995 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -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; -- 2.43.5