Author: aurel32
Date: 2009-10-26 16:50:29 +0000 (Mon, 26 Oct 2009)
New Revision: 3901

Added:
   glibc-package/trunk/debian/patches/any/submitted-missing-etc-resolv.conf.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * patches/any/submitted-missing-etc-resolv.conf.diff: new patch to fix
    name resolution with empty or missing /etc/resolv.conf.  Closes:
    #552453.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog        2009-10-26 16:43:24 UTC (rev 
3900)
+++ glibc-package/trunk/debian/changelog        2009-10-26 16:50:29 UTC (rev 
3901)
@@ -6,8 +6,11 @@
   [ Aurelien Jarno ]
   * patches/s390/submitted-getutmpx.diff: new patch to fix getutmpx() on
     s390.  Closes: #544838.
+  * patches/any/submitted-missing-etc-resolv.conf.diff: new patch to fix
+    name resolution with empty or missing /etc/resolv.conf.  Closes:
+    #552453.
 
- -- Aurelien Jarno <[email protected]>  Mon, 26 Oct 2009 15:42:33 +0100
+ -- Aurelien Jarno <[email protected]>  Mon, 26 Oct 2009 17:50:16 +0100
 
 eglibc (2.10.1-2) unstable; urgency=low
 

Added: 
glibc-package/trunk/debian/patches/any/submitted-missing-etc-resolv.conf.diff
===================================================================
--- 
glibc-package/trunk/debian/patches/any/submitted-missing-etc-resolv.conf.diff   
                            (rev 0)
+++ 
glibc-package/trunk/debian/patches/any/submitted-missing-etc-resolv.conf.diff   
    2009-10-26 16:50:29 UTC (rev 3901)
@@ -0,0 +1,15 @@
+2009-10-26  Aurelien Jarno  <[email protected]>
+
+       * resolv/res_init.c (__res_vinit): Initialize nscount to one.
+
+--- a/resolv/res_init.c
++++ b/resolv/res_init.c
+@@ -183,7 +183,7 @@ __res_vinit(res_state statp, int preinit) {
+ #endif
+       statp->nsaddr.sin_family = AF_INET;
+       statp->nsaddr.sin_port = htons(NAMESERVER_PORT);
+-      statp->nscount = 0;
++      statp->nscount = 1;
+       statp->ndots = 1;
+       statp->pfcode = 0;
+       statp->_vcsock = -1;

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series   2009-10-26 16:43:24 UTC (rev 
3900)
+++ glibc-package/trunk/debian/patches/series   2009-10-26 16:50:29 UTC (rev 
3901)
@@ -204,3 +204,4 @@
 any/submitted-getent-gshadow.diff
 any/cvs-getaddrinfo-nss-notfound.diff
 any/submitted-missing-etc-hosts.diff
+any/submitted-missing-etc-resolv.conf.diff


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to