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
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2007-01-12 18:40:13 +0300
committerChristopher Faylor <me@cgf.cx>2007-01-12 18:40:13 +0300
commit5f77729c301d88d195aaa2a0758181ac8903e9b2 (patch)
treee325533b4735d8e929e0763ed2ea27d8008952e4 /winsup
parent0b7c56a5f554f9d34659a6c889bf71405991a2ed (diff)
* external.cc (sync_winenv): Use cur_environ () rather than __cygwin_environ.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/external.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index d48eed1c5..8a43e89a8 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-12 Christopher Faylor <me@cgf.cx>
+
+ * external.cc (sync_winenv): Use cur_environ () rather than
+ __cygwin_environ.
+
2007-01-12 Corinna Vinschen <corinna@vinschen.de>
* fork.cc (child_copy): Add missing Windows PID in debug output.
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc
index 9d092759a..4cfa07fb3 100644
--- a/winsup/cygwin/external.cc
+++ b/winsup/cygwin/external.cc
@@ -142,7 +142,7 @@ sync_winenv ()
{
int unused_envc;
char *envblock = NULL;
- char **envp = build_env (__cygwin_environ, envblock, unused_envc, false);
+ char **envp = build_env (cur_environ (), envblock, unused_envc, false);
char *p = envblock;
if (envp)