* ar.c (open_inarch): Check fwrite return. Use size_t.
authorAlan Modra <amodra@gmail.com>
Fri, 12 Jan 2007 03:12:56 +0000 (03:12 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 12 Jan 2007 03:12:56 +0000 (03:12 +0000)
commit7bd7b3eff2840d8309852c8a4091cb3b589fccd8
treeb46abc70cdcb900c0dc2719375d2054ec5301f6c
parent0bbe7a79f595b156a9a9ab3042f44d7218b933e0
* ar.c (open_inarch): Check fwrite return.  Use size_t.
(extract_file): Likewise.  Remove test for "negative" file size.
* readelf.c (process_program_headers): Check fscanf return.
binutils/ChangeLog
binutils/ar.c
binutils/readelf.c