* environ.cc (spenvs): Add "windir" as an "always export" variable

to accomodate WinSock on Windows 95.
This commit is contained in:
Corinna Vinschen 2005-12-04 21:47:03 +00:00
parent 3829215776
commit 9fc0d14410
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-12-04 Corinna Vinschen <corinna@vinschen.de>
* environ.cc (spenvs): Add "windir" as an "always export" variable
to accomodate WinSock on Windows 95.
2005-12-02 Christopher Faylor <cgf@timesys.com>
* include/exceptions.h (exception_list): Revert previous change.

View File

@ -880,7 +880,8 @@ static NO_COPY spenv spenvs[] =
{NL ("SYSTEMROOT="), true, true, &cygheap_user::env_systemroot},
{NL ("USERDOMAIN="), false, false, &cygheap_user::env_domain},
{NL ("USERNAME="), false, false, &cygheap_user::env_name},
{NL ("USERPROFILE="), false, false, &cygheap_user::env_userprofile}
{NL ("USERPROFILE="), false, false, &cygheap_user::env_userprofile},
{NL ("windir="), true, true, &cygheap_user::env_systemroot}
};
char *