Made sure that every call to bfd_read, bfd_write, and bfd_seek
authorIan Lance Taylor <ian@airs.com>
Mon, 4 Apr 1994 22:43:30 +0000 (22:43 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 4 Apr 1994 22:43:30 +0000 (22:43 +0000)
commit6d4f771502a396883f5e201165512effd6c808b6
tree45a561d21a2c8b7dce34235f69b9f1acfdbe1a02
parent5f322b5eb0724018003ba9d80545b96a47d6e765
Made sure that every call to bfd_read, bfd_write, and bfd_seek
checks the return value and handled bfd_error correctly.  These
changes are not itemised.  Also:
* srec.c (srec_write_record): Change return type to boolean.
(srec_write_header): Likewise.  Also, check srec_write_record
return value.
(srec_write_section, srec_write_terminator): Likewise.
(srec_write_symbols): Change return type to boolean.
(internal_srec_write_object_contents): Check return value of
srec_write_symbols, srec_write_header, srec_write_section, and
srec_write_terminator.
bfd/srec.c