* 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

@ -1,3 +1,8 @@
2005-12-28 Christopher Faylor <cgf@timesys.com>
* environ.cc (win_env::add_cache): Don't add variables to the
environment during initialization.
2005-12-27 Corinna Vinschen <corinna@vinschen.de>
* exceptions.cc (_cygtls::handle_exceptions): Drop redundant `break'.

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;