Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2005-12-05 00:47:03 +0300
committerCorinna Vinschen <corinna@vinschen.de>2005-12-05 00:47:03 +0300
commit9fc0d1441001b8e68562ddd09ca1f72fdbe630ec (patch)
tree8117216822d5b86c88b83d05f2d0f6fbd5ee17b6
parent3829215776d2a99e299dc1efeb196de240746ea4 (diff)
* environ.cc (spenvs): Add "windir" as an "always export" variable
to accomodate WinSock on Windows 95.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/environ.cc3
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index befc5c981..d3f906f37 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 dceac852e..e7bd292c7 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 *