Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2000-11-15 12:01:33 +0300
committerCorinna Vinschen <corinna@vinschen.de>2000-11-15 12:01:33 +0300
commitcc35b56c9550a5cdbb88aa961679044a07ccb2b1 (patch)
treedc1bef339021ceb2ca8c5ab36ff3dd814d95a1b6 /winsup/cygwin/spawn.cc
parent5ba05cab08e2c4b25d6a22219c46e6977d4bd50e (diff)
* spawn.cc (spawn_guts): Revert patch to ignore chroot settings
on creating native Win32 environment.
Diffstat (limited to 'winsup/cygwin/spawn.cc')
-rw-r--r--winsup/cygwin/spawn.cc7
1 files changed, 1 insertions, 6 deletions
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;