diff options
author | Ian Lance Taylor <ian@airs.com> | 1998-02-17 18:02:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1998-02-17 18:02:55 +0000 |
commit | 5290378abc09ab96d8a25be05c07bcfc1b23caab (patch) | |
tree | 64f0531447783d1b649b72fff5cce0f8ca9a8e68 | |
parent | bccb2e7f89c67edc89322284e3f06f23278983d0 (diff) | |
download | binutils-5290378abc09ab96d8a25be05c07bcfc1b23caab.zip binutils-5290378abc09ab96d8a25be05c07bcfc1b23caab.tar.gz binutils-5290378abc09ab96d8a25be05c07bcfc1b23caab.tar.bz2 |
* libbfd.c (bfd_seek): If fseek fails, save errno around call to
bfd_tell. If errno is EINVAL, set bfd_error_file_truncated, not
bfd_error_system_call.
-rw-r--r-- | bfd/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 86cd975..5a7830b1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +Tue Feb 17 12:58:34 1998 Ian Lance Taylor <ian@cygnus.com> + + * libbfd.c (bfd_seek): If fseek fails, save errno around call to + bfd_tell. If errno is EINVAL, set bfd_error_file_truncated, not + bfd_error_system_call. + Fri Feb 13 13:11:33 1998 Ian Lance Taylor <ian@cygnus.com> * Makefile.am (AUTOMAKE_OPTIONS): Define. |