summary refs log tree commit diff
path: root/nss/nss_files/files-hosts.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-23 16:33:04 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-23 16:33:04 +0000
commit3accf5d13d44445693042ffded8ca8f813aa924d (patch)
tree2b22fb33a13f258abce00b1f3c400040903bd2e5 /nss/nss_files/files-hosts.c
parenta1d4a3bc72ae9bf800a14eb95ab6bda993e16e68 (diff)
downloadglibc-3accf5d13d44445693042ffded8ca8f813aa924d.tar.gz
glibc-3accf5d13d44445693042ffded8ca8f813aa924d.tar.xz
glibc-3accf5d13d44445693042ffded8ca8f813aa924d.zip
Update.
	* nss/nss_files/files-hosts.c: Correct problem with three or more
	entries with the same name.
Diffstat (limited to 'nss/nss_files/files-hosts.c')
-rw-r--r--nss/nss_files/files-hosts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nss/nss_files/files-hosts.c b/nss/nss_files/files-hosts.c
index c96a39c38e..7f4e778c7e 100644
--- a/nss/nss_files/files-hosts.c
+++ b/nss/nss_files/files-hosts.c
@@ -232,6 +232,8 @@ _nss_files_get##name##_r (proto,					      \
 		  /* Compute the new buffer end.  */			      \
 		  bufferend = (char *) &new_h_aliases[naliases + 1];	      \
 		  assert (bufferend <= buffer + buflen);		      \
+									      \
+		  result = old_result;					      \
 		}							      \
 	    }								      \
 									      \