Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/gnu/dist/bfd pull up rev 1.10 from trunk (requested by ...
details: https://anonhg.NetBSD.org/src/rev/3dbd52a9274c
branches: netbsd-1-4
changeset: 469539:3dbd52a9274c
user: cgd <cgd%NetBSD.org@localhost>
date: Sat Oct 09 19:09:26 1999 +0000
description:
pull up rev 1.10 from trunk (requested by kristerw):
Fix calculation of size of bfd_target_vector, which was incorrect and
would cause some bfd-using programs (e.g. ar) to crash. Fixes PR#8200
and PR#8573.
diffstat:
gnu/dist/bfd/targets.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 412ae12d20b2 -r 3dbd52a9274c gnu/dist/bfd/targets.c
--- a/gnu/dist/bfd/targets.c Wed Oct 06 13:29:34 1999 +0000
+++ b/gnu/dist/bfd/targets.c Sat Oct 09 19:09:26 1999 +0000
@@ -860,7 +860,7 @@
/* When there is an ambiguous match, bfd_check_format_matches puts the
names of the matching targets in an array. This variable is the maximum
number of entries that the array could possibly need. */
-const size_t _bfd_target_vector_entries = sizeof(bfd_target_vector)/sizeof(*bfd_target_vector);
+const size_t _bfd_target_vector_entries = sizeof(_bfd_target_vector)/sizeof(*_bfd_target_vector);
/* This array maps configuration triplets onto BFD vectors. */
Home |
Main Index |
Thread Index |
Old Index