GNU C Library master sources branch, master, updated. glibc-2.12-150-ge66e741

drepper@sourceware.org drepper@sourceware.org
Tue Sep 14 07:02:00 GMT 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  e66e7419a6f58200eec6941b14e2dcff9875cc6c (commit)
      from  c044aa75354b48d4b7aaffe465706282192e54c2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=e66e7419a6f58200eec6941b14e2dcff9875cc6c

commit e66e7419a6f58200eec6941b14e2dcff9875cc6c
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Tue Sep 14 00:01:42 2010 -0700

    Actually make it possible to user the default name server.

diff --git a/ChangeLog b/ChangeLog
index 9e7bbe2..b997405 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-14  Ulrich Drepper  <drepper@redhat.com>
+
+	* resolv/res_init.c (__res_vinit): Count the default server we added.
+
 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
 	    Ulrich Drepper  <drepper@redhat.com>
 
diff --git a/resolv/res_init.c b/resolv/res_init.c
index 202569d..74715f3 100644
--- a/resolv/res_init.c
+++ b/resolv/res_init.c
@@ -430,6 +430,7 @@ __res_vinit(res_state statp, int preinit) {
 	    statp->nsaddr.sin_addr = inet_makeaddr(IN_LOOPBACKNET, 1);
 	    statp->nsaddr.sin_family = AF_INET;
 	    statp->nsaddr.sin_port = htons(NAMESERVER_PORT);
+	    statp->nscount = 1;
 	}
 	if (statp->defdname[0] == 0 &&
 	    __gethostname(buf, sizeof(statp->defdname) - 1) == 0 &&

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    4 ++++
 resolv/res_init.c |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources



More information about the Glibc-cvs mailing list