From: Ian Lance Taylor Date: Tue, 17 Feb 1998 18:02:55 +0000 (+0000) Subject: * libbfd.c (bfd_seek): If fseek fails, save errno around call to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5290378abc09ab96d8a25be05c07bcfc1b23caab;p=binutils-gdb.git * 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. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 86cd975f4f1..5a7830b1448 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +Tue Feb 17 12:58:34 1998 Ian Lance Taylor + + * 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 * Makefile.am (AUTOMAKE_OPTIONS): Define.