* libbfd.c (bfd_seek): If fseek fails, save errno around call to
authorIan Lance Taylor <ian@airs.com>
Tue, 17 Feb 1998 18:02:55 +0000 (18:02 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 17 Feb 1998 18:02:55 +0000 (18:02 +0000)
bfd_tell.  If errno is EINVAL, set bfd_error_file_truncated, not
bfd_error_system_call.

bfd/ChangeLog

index 86cd975f4f15c54476054bfd4003c7660220a7c8..5a7830b1448e3bd05f71a217ff1da73fe7566c7f 100644 (file)
@@ -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.