about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-30 03:19:08 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-30 03:19:08 +0000
commit3ed0dfa22af191bc854a3721f3010f8c31b11584 (patch)
tree57073693554c064d7d8834021808a14df97a955a
parent2b1ec034a247e5cf9018e4f29221104f20494e91 (diff)
downloadglibc-3ed0dfa22af191bc854a3721f3010f8c31b11584.tar.gz
glibc-3ed0dfa22af191bc854a3721f3010f8c31b11584.tar.xz
glibc-3ed0dfa22af191bc854a3721f3010f8c31b11584.zip
Update.
2000-09-29  Ulrich Drepper  <drepper@redhat.com>

	* elf/cache.c (save_cache): Initialize __unused field in new cache
	as well to get reproducable results.
-rw-r--r--ChangeLog5
-rw-r--r--elf/cache.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 941aab2d6c..179713af49 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-29  Ulrich Drepper  <drepper@redhat.com>
+
+	* elf/cache.c (save_cache): Initialize __unused field in new cache
+	as well to get reproducable results.
+
 2000-09-29  H.J. Lu  <hjl@gnu.org>
 
 	* sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
diff --git a/elf/cache.c b/elf/cache.c
index b84287332e..942b7900bf 100644
--- a/elf/cache.c
+++ b/elf/cache.c
@@ -320,6 +320,7 @@ save_cache (const char *cache_name)
 	  file_entries_new->libs[idx_new].flags = entry->flags;
 	  file_entries_new->libs[idx_new].hwcap = entry->hwcap;
 	  file_entries_new->libs[idx_new].key = str_offset;
+	  file_entries_new->libs[idx_new].__unused = 0;
 	}
       len = strlen (entry->lib);
       str = stpcpy (str, entry->lib);