* environ.cc (win_env::add_cache): Don't add variables to the environment

during initialization.
This commit is contained in:
Christopher Faylor
2005-12-29 03:46:56 +00:00
parent 20e84812d2
commit 77ae8757f7
2 changed files with 6 additions and 1 deletions

View File

@@ -116,7 +116,7 @@ win_env::add_cache (const char *in_posix, const char *in_native)
towin32 (in_posix, native + namelen);
}
MALLOC_CHECK;
if (immediate)
if (immediate && cygwin_finished_initializing)
{
char s[namelen];
size_t n = namelen - 1;