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 /winsup/cygwin/environ.cc
parent3829215776d2a99e299dc1efeb196de240746ea4 (diff)
* environ.cc (spenvs): Add "windir" as an "always export" variable
to accomodate WinSock on Windows 95.
Diffstat (limited to 'winsup/cygwin/environ.cc')
-rw-r--r--winsup/cygwin/environ.cc3
1 files changed, 2 insertions, 1 deletions
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 *