aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/net.cc4
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? */