diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-12-04 21:47:03 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-12-04 21:47:03 +0000 |
commit | 9fc0d1441001b8e68562ddd09ca1f72fdbe630ec (patch) | |
tree | 8117216822d5b86c88b83d05f2d0f6fbd5ee17b6 | |
parent | 3829215776d2a99e299dc1efeb196de240746ea4 (diff) | |
download | newlib-9fc0d1441001b8e68562ddd09ca1f72fdbe630ec.zip newlib-9fc0d1441001b8e68562ddd09ca1f72fdbe630ec.tar.gz newlib-9fc0d1441001b8e68562ddd09ca1f72fdbe630ec.tar.bz2 |
* environ.cc (spenvs): Add "windir" as an "always export" variable
to accomodate WinSock on Windows 95.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/environ.cc | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index befc5c9..d3f906f 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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. diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc index dceac85..e7bd292 100644 --- a/winsup/cygwin/environ.cc +++ b/winsup/cygwin/environ.cc @@ -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 * |