Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 23 Jul 2000 16:33:04 +0000 (16:33 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 23 Jul 2000 16:33:04 +0000 (16:33 +0000)
* nss/nss_files/files-hosts.c: Correct problem with three or more
entries with the same name.

ChangeLog
nss/nss_files/files-hosts.c

index ad3c6d25524c4cff1ab934a75d5e83320a369c85..2c41b19f41e661e58c9020f63b7838e2bdf342dc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 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.
        * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
 
index c96a39c38e03b7f956840e1bb8a9894ae957a1e6..7f4e778c7e03c3cb5f12d3abe503656a3a618a6f 100644 (file)
@@ -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;                                        \
                }                                                             \
            }                                                                 \
                                                                              \