From 94ee02fa052003f3cd72fb294ef517e729f4b4cf Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 29 Jan 2002 13:23:09 +0000 Subject: [PATCH] * net.cc (getdomainname): Fix registry key for NT systems. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/net.cc | 1 + 2 files changed, 5 insertions(+) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index d119f7be8..27db2edc9 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2002-01-29 Corinna Vinschen + + * net.cc (getdomainname): Fix registry key for NT systems. + 2002-01-28 Christopher Faylor * external.cc (cygwin_internal): Initialize various internal settings diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index 01beab79a..be783ea6a 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -1629,6 +1629,7 @@ getdomainname (char *domain, int len) (!wincap.is_winnt ()) ? "System" : "SYSTEM", "CurrentControlSet", "Services", (!wincap.is_winnt ()) ? "MSTCP" : "Tcpip", + (!wincap.is_winnt ()) ? NULL : "Parameters", NULL); /* FIXME: Are registry keys case sensitive? */