* external.cc (sync_winenv): Use cur_environ () rather than __cygwin_environ.
This commit is contained in:
		| @@ -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> | 2007-01-12  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
| 	* fork.cc (child_copy): Add missing Windows PID in debug output. | 	* fork.cc (child_copy): Add missing Windows PID in debug output. | ||||||
|   | |||||||
| @@ -142,7 +142,7 @@ sync_winenv () | |||||||
| { | { | ||||||
|   int unused_envc; |   int unused_envc; | ||||||
|   char *envblock = NULL; |   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; |   char *p = envblock; | ||||||
|  |  | ||||||
|   if (envp) |   if (envp) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user