aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1992-10-05 22:03:13 +0000
committerPer Bothner <per@bothner.com>1992-10-05 22:03:13 +0000
commit446c5af7c2ef1137b6026b5a6fdccdf13f7b9088 (patch)
treedac4af79b14e2f51f4ee70ebe14265303fa0d9e8 /bfd/ChangeLog
parent286fd2f9e5b403feac83499586ef66c69d9a3073 (diff)
downloadgdb-446c5af7c2ef1137b6026b5a6fdccdf13f7b9088.zip
gdb-446c5af7c2ef1137b6026b5a6fdccdf13f7b9088.tar.gz
gdb-446c5af7c2ef1137b6026b5a6fdccdf13f7b9088.tar.bz2
Tweak previous change (only assume malformed_archive if errno == 0).
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index fbc5432..7788700 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,7 +1,8 @@
Mon Oct 5 14:32:55 1992 Per Bothner (bothner@cygnus.com)
- * archive.c (_bfd_write_archive_contents): If read fails,
- set bfd_error to malformed_archive (since this probably
+ * archive.c: Make errno global.
+ * archive.c (_bfd_write_archive_contents): If read fails (and
+ errno!=0) set bfd_error to malformed_archive (since this probably
indicates a truncated archive), rather than system_call_error.
Mon Oct 5 03:33:39 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)