From: Ulrich Drepper Date: Wed, 28 Nov 2001 20:22:08 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2-3~1354 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=04484feb73a226f71620a530754f8ae4e0b1f833;p=thirdparty%2Fglibc.git Update. 2001-11-22 Thorsten Kukuk * nss/nss_files/files-hosts.c (_nss_files_get##name##_r): Set herrnop to NETDB_INTERNAL if we run out of buffer space. --- diff --git a/ChangeLog b/ChangeLog index 406c20fcbba..d07e70944be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-11-22 Thorsten Kukuk + + * nss/nss_files/files-hosts.c (_nss_files_get##name##_r): Set + herrnop to NETDB_INTERNAL if we run out of buffer space. + 2001-11-28 Ulrich Drepper * nss/nss_files/files-XXX.c (internal_getent): Correct input diff --git a/nss/nss_files/files-hosts.c b/nss/nss_files/files-hosts.c index eaa7be74555..12ad9cf5a56 100644 --- a/nss/nss_files/files-hosts.c +++ b/nss/nss_files/files-hosts.c @@ -1,5 +1,5 @@ /* Hosts file parser in nss_files module. - Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -173,6 +173,7 @@ _nss_files_get##name##_r (proto, \ >= buffer + buflen) \ { \ *errnop = ERANGE; \ + *herrnop = NETDB_INTERNAL; \ status = NSS_STATUS_TRYAGAIN; \ break; \ } \