diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-12-12 08:29:37 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-12-12 08:29:37 +0000 |
commit | d6a6da338bbb392701219c3b7e73ba60cacff065 (patch) | |
tree | 30e5aa999136465c538935ba9dac102a2a39ab4d | |
parent | 8470d6bc0e067919e0cbf246ee5e9363d6ea9889 (diff) | |
download | newlib-d6a6da338bbb392701219c3b7e73ba60cacff065.zip newlib-d6a6da338bbb392701219c3b7e73ba60cacff065.tar.gz newlib-d6a6da338bbb392701219c3b7e73ba60cacff065.tar.bz2 |
* libc/minires.c (res_ninit): Drop handling for LOCALDOMAIN environment
variable.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/libc/minires.c | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 64ff7f4..478c995 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2006-12-12 Corinna Vinschen <corinna@vinschen.de> + + * libc/minires.c (res_ninit): Drop handling for LOCALDOMAIN environment + variable. + 2006-12-11 Corinna Vinschen <corinna@vinschen.de> * Makefile.in (DLL_OFILES): Add minires-os-if.o and minires.o. diff --git a/winsup/cygwin/libc/minires.c b/winsup/cygwin/libc/minires.c index 4c94958..26773a1 100644 --- a/winsup/cygwin/libc/minires.c +++ b/winsup/cygwin/libc/minires.c @@ -257,7 +257,6 @@ struct __res_state *__res_state(void) int res_ninit(res_state statp) { int i; - char * ptr; statp->res_h_errno = NETDB_SUCCESS; statp->nscount = 0; @@ -270,11 +269,6 @@ int res_ninit(res_state statp) for (i = 0; i < DIM(statp->dnsrch); i++) statp->dnsrch[i] = 0; - /* Get search list from LOCALDOMAIN */ - if ((ptr = getenv("LOCALDOMAIN")) != 0 ) { - DPRINTF(statp->options & RES_DEBUG, "LOCALDOMAIN \"%s\"\n", ptr); - minires_get_search(ptr, statp); /* domain or dnsrch */ - } /* resolv.conf (dns servers & search list)*/ get_resolv(statp); /* Get dns servers and search list from an os-specific routine, set os_query */ |