* 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.
This commit is contained in:
Ian Lance Taylor 1998-02-17 18:02:55 +00:00
parent bccb2e7f89
commit 5290378abc

View 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.