diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-01-29 13:23:09 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-01-29 13:23:09 +0000 |
commit | 94ee02fa052003f3cd72fb294ef517e729f4b4cf (patch) | |
tree | b7d3f2b40fab309010b0936abf0fb68f473145de | |
parent | 012858ecdc2333dbc45817aa1510b15e4170f552 (diff) | |
download | newlib-94ee02fa052003f3cd72fb294ef517e729f4b4cf.zip newlib-94ee02fa052003f3cd72fb294ef517e729f4b4cf.tar.gz newlib-94ee02fa052003f3cd72fb294ef517e729f4b4cf.tar.bz2 |
* net.cc (getdomainname): Fix registry key for NT systems.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/net.cc | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index d119f7b..27db2ed 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +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> * external.cc (cygwin_internal): Initialize various internal settings diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index 01beab7..be783ea 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? */ |