aboutsummaryrefslogtreecommitdiff
path: root/nss
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-11-28 20:22:08 +0000
committerUlrich Drepper <drepper@redhat.com>2001-11-28 20:22:08 +0000
commit04484feb73a226f71620a530754f8ae4e0b1f833 (patch)
tree7a6cf14c9f9a23f217a5b5561e4caf06e1b2df6a /nss
parent3fd13f9e1b426e341ebfbe6a25ce4087cfbd5506 (diff)
downloadglibc-04484feb73a226f71620a530754f8ae4e0b1f833.tar
glibc-04484feb73a226f71620a530754f8ae4e0b1f833.tar.gz
glibc-04484feb73a226f71620a530754f8ae4e0b1f833.tar.bz2
glibc-04484feb73a226f71620a530754f8ae4e0b1f833.zip
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.
Diffstat (limited to 'nss')
-rw-r--r--nss/nss_files/files-hosts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nss/nss_files/files-hosts.c b/nss/nss_files/files-hosts.c
index eaa7be7455..12ad9cf5a5 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; \
} \