lists.arthurdejong.org
RSS feed

nss-pam-ldapd branch master updated. 0.9.2-34-g2d35feb

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

nss-pam-ldapd branch master updated. 0.9.2-34-g2d35feb



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 "nss-pam-ldapd".

The branch, master has been updated
       via  2d35feb2f94ec811b883a651ce61b8ee91ec47cf (commit)
      from  8532f402ae3316fde351c87d96824b765526a026 (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://arthurdejong.org/git/nss-pam-ldapd/commit/?id=2d35feb2f94ec811b883a651ce61b8ee91ec47cf

commit 2d35feb2f94ec811b883a651ce61b8ee91ec47cf
Author: Nalin Dahyabhai <nalin@redhat.com>
Date:   Mon Jan 27 17:17:33 2014 +0100

    Use right h_errnop for retrying with larger buffer
    
    The libc nsswitch code expects h_errno to be set to NETDB_INTERNAL when
    it needs to try again with a larger buffer.
    
    Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com>

diff --git a/nss/hosts.c b/nss/hosts.c
index eda739b..acbdb1e 100644
--- a/nss/hosts.c
+++ b/nss/hosts.c
@@ -52,7 +52,7 @@
 #undef ERROR_OUT_BUFERROR
 #define ERROR_OUT_BUFERROR(fp)                                              \
   *errnop = ERANGE;                                                         \
-  *h_errnop = TRY_AGAIN;                                                    \
+  *h_errnop = NETDB_INTERNAL;                                               \
   return NSS_STATUS_TRYAGAIN;
 
 #undef ERROR_OUT_WRITEERROR
diff --git a/nss/networks.c b/nss/networks.c
index b18d5ca..3ffea52 100644
--- a/nss/networks.c
+++ b/nss/networks.c
@@ -52,7 +52,7 @@
 #undef ERROR_OUT_BUFERROR
 #define ERROR_OUT_BUFERROR(fp)                                              \
   *errnop = ERANGE;                                                         \
-  *h_errnop = TRY_AGAIN;                                                    \
+  *h_errnop = NETDB_INTERNAL;                                               \
   return NSS_STATUS_TRYAGAIN;
 
 #undef ERROR_OUT_WRITEERROR

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

Summary of changes:
 nss/hosts.c    |    2 +-
 nss/networks.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
nss-pam-ldapd
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/