about 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-09-03 17:10:35 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-03 17:10:35 +0000
commit2e4581e4fba917f1779cd0a010a45698586c190a (patch)
treeeae590620510f87f2ca7063afee31a5ec38df30c /nss/nss_files/files-hosts.c
parent5afe6c0236d8be57bc9bf1cba7fb5ab5e832a75e (diff)
downloadglibc-2e4581e4fba917f1779cd0a010a45698586c190a.tar.gz
glibc-2e4581e4fba917f1779cd0a010a45698586c190a.tar.xz
glibc-2e4581e4fba917f1779cd0a010a45698586c190a.zip
Update.
2000-09-03  Ulrich Drepper  <drepper@redhat.com>

	* time/sys/time.h (gettimeofday): Move restrict for tz parameter
	to the typedefs of __timezone_ptr_t.
	Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.

2000-09-02  Jakub Jelinek  <jakub@redhat.com>

	* nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
	the loop.

2000-09-01  H.J. Lu  <hjl@gnu.org>

	* Makeconfig (built-program-cmd): Don't use the dynamic linker
	to run a binary if it is in $(tests-static).

	* Rules (binaries-static): Add $(tests-static).
Diffstat (limited to 'nss/nss_files/files-hosts.c')
-rw-r--r--nss/nss_files/files-hosts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nss/nss_files/files-hosts.c b/nss/nss_files/files-hosts.c
index 7f4e778c7e..4cd0cd2a43 100644
--- a/nss/nss_files/files-hosts.c
+++ b/nss/nss_files/files-hosts.c
@@ -200,6 +200,7 @@ _nss_files_get##name##_r (proto,					      \
 		      bufferend = (__stpcpy (bufferend,			      \
 					     tmp_result_buf.h_aliases[cnt])   \
 				   + 1);				      \
+		      ++cnt;						      \
 		    }							      \
 									      \
 		  if (cnt < newaliases)					      \