* nss/nss_files/files-hosts.c: Correct problem with three or more
	entries with the same name.
This commit is contained in:
Ulrich Drepper 2000-07-23 16:33:04 +00:00
parent a1d4a3bc72
commit 3accf5d13d
2 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2000-07-23 Ulrich Drepper <drepper@redhat.com> 2000-07-23 Ulrich Drepper <drepper@redhat.com>
* nss/nss_files/files-hosts.c: Correct problem with three or more
entries with the same name.
* nss/nss_files/files-hosts.c: Implement multi handling. * nss/nss_files/files-hosts.c: Implement multi handling.
* resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc. * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.

View file

@ -232,6 +232,8 @@ _nss_files_get##name##_r (proto, \
/* Compute the new buffer end. */ \ /* Compute the new buffer end. */ \
bufferend = (char *) &new_h_aliases[naliases + 1]; \ bufferend = (char *) &new_h_aliases[naliases + 1]; \
assert (bufferend <= buffer + buflen); \ assert (bufferend <= buffer + buflen); \
\
result = old_result; \
} \ } \
} \ } \
\ \