diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-01-29 13:39:41 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-01-29 13:39:41 +0000 |
commit | 562d97451a05bf26b1b9ea912939fd5b3dab3e9e (patch) | |
tree | 5be81a8cf6fcc47f3f716e08a6d9429ca9b0f1b0 | |
parent | 94ee02fa052003f3cd72fb294ef517e729f4b4cf (diff) | |
download | newlib-562d97451a05bf26b1b9ea912939fd5b3dab3e9e.zip newlib-562d97451a05bf26b1b9ea912939fd5b3dab3e9e.tar.gz newlib-562d97451a05bf26b1b9ea912939fd5b3dab3e9e.tar.bz2 |
* net.cc (getdomainname): Fix registry key for 9x systems, too.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/net.cc | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 27db2ed..d555fb0 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,9 @@ 2002-01-29 Corinna Vinschen <corinna@vinschen.de> + * net.cc (getdomainname): Fix registry key for 9x systems, too. + +2002-01-29 Corinna Vinschen <corinna@vinschen.de> + * net.cc (getdomainname): Fix registry key for NT systems. 2002-01-28 Christopher Faylor <cgf@redhat.com> diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index be783ea..ac6fdc9 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -1628,8 +1628,8 @@ getdomainname (char *domain, int len) reg_key r (HKEY_LOCAL_MACHINE, KEY_READ, (!wincap.is_winnt ()) ? "System" : "SYSTEM", "CurrentControlSet", "Services", - (!wincap.is_winnt ()) ? "MSTCP" : "Tcpip", - (!wincap.is_winnt ()) ? NULL : "Parameters", + (!wincap.is_winnt ()) ? "VxD" : "Tcpip", + (!wincap.is_winnt ()) ? "MSTCP" : "Parameters", NULL); /* FIXME: Are registry keys case sensitive? */ |