mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
Update.
2001-11-22 Thorsten Kukuk <kukuk@suse.de> * nss/nss_files/files-hosts.c (_nss_files_get##name##_r): Set herrnop to NETDB_INTERNAL if we run out of buffer space.
This commit is contained in:
parent
3fd13f9e1b
commit
04484feb73
@ -1,3 +1,8 @@
|
|||||||
|
2001-11-22 Thorsten Kukuk <kukuk@suse.de>
|
||||||
|
|
||||||
|
* 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 <drepper@redhat.com>
|
2001-11-28 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* nss/nss_files/files-XXX.c (internal_getent): Correct input
|
* nss/nss_files/files-XXX.c (internal_getent): Correct input
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Hosts file parser in nss_files module.
|
/* 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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
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) \
|
>= buffer + buflen) \
|
||||||
{ \
|
{ \
|
||||||
*errnop = ERANGE; \
|
*errnop = ERANGE; \
|
||||||
|
*herrnop = NETDB_INTERNAL; \
|
||||||
status = NSS_STATUS_TRYAGAIN; \
|
status = NSS_STATUS_TRYAGAIN; \
|
||||||
break; \
|
break; \
|
||||||
} \
|
} \
|
||||||
|
Loading…
Reference in New Issue
Block a user