* external.cc (sync_winenv): Use cur_environ () rather than __cygwin_environ.
This commit is contained in:
parent
0b7c56a5f5
commit
5f77729c30
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue