* archive.c (_bfd_write_archive_contents): If read fails,
authorPer Bothner <per@bothner.com>
Mon, 5 Oct 1992 21:36:56 +0000 (21:36 +0000)
committerPer Bothner <per@bothner.com>
Mon, 5 Oct 1992 21:36:56 +0000 (21:36 +0000)
commit286fd2f9e5b403feac83499586ef66c69d9a3073
treeef980d11094ea1b95c89a212b54b8fcb0e0b7623
parentb5ddf9421cc5a2d219dd6e5fb327ed654e25231d
* archive.c (_bfd_write_archive_contents):  If read fails,
set bfd_error to malformed_archive (since this probably
indicates a truncated archive), rather than system_call_error.
(Handles PRMS 1624.)
bfd/ChangeLog
bfd/archive.c