[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r4137 - in glibc-package/branches/eglibc-2.11/debian: . patches/any



Author: schizo
Date: 2010-02-06 22:25:21 +0000 (Sat, 06 Feb 2010)
New Revision: 4137

Modified:
   glibc-package/branches/eglibc-2.11/debian/changelog
   glibc-package/branches/eglibc-2.11/debian/patches/any/submitted-nis-not-configured.diff
Log:
Update debian/patches/any/submitted-nis-not-configured.diff

Modified: glibc-package/branches/eglibc-2.11/debian/changelog
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/changelog	2010-02-06 19:59:47 UTC (rev 4136)
+++ glibc-package/branches/eglibc-2.11/debian/changelog	2010-02-06 22:25:21 UTC (rev 4137)
@@ -34,6 +34,7 @@
     - Update debian/patches/localedata/first_weekday.diff
     - Update testsuite-checking/expected-results-sparc-linux-gnu-libc
     - Update testsuite-checking/expected-results-sparcv9b-linux-gnu-sparcv9b
+    - Update debian/patches/any/submitted-nis-not-configured.diff
 
   [ Aurelien Jarno ]
   * Enable multi-arch.

Modified: glibc-package/branches/eglibc-2.11/debian/patches/any/submitted-nis-not-configured.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/any/submitted-nis-not-configured.diff	2010-02-06 19:59:47 UTC (rev 4136)
+++ glibc-package/branches/eglibc-2.11/debian/patches/any/submitted-nis-not-configured.diff	2010-02-06 22:25:21 UTC (rev 4137)
@@ -5,16 +5,16 @@
 
 --- a/nis/nss_nis/nis-hosts.c
 +++ b/nis/nss_nis/nis-hosts.c
-@@ -456,7 +456,11 @@ _nss_nis_gethostbyname4_r (const char *name, struct gaih_addrtuple **pat,
- {
+@@ -260,7 +260,11 @@
+ 
    char *domain;
    if (yp_get_default_domain (&domain))
 -    return NSS_STATUS_UNAVAIL;
 +    {
-+      *herrnop = HOST_NOT_FOUND;
++      *h_errnop = HOST_NOT_FOUND;
 +      *errnop = errno;
 +      return NSS_STATUS_UNAVAIL;
 +    }
  
-   /* Convert name to lowercase.  */
-   size_t namlen = strlen (name);
+   if (buflen < sizeof *data + 1 + pad)
+     {


Reply to: