From beb1bf64d083b906a76aa038c5cc5328f0c10e8d Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Thu, 24 May 2001 20:50:50 +0000 Subject: Support for xcoff64 --- bfd/libbfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/libbfd.c') diff --git a/bfd/libbfd.c b/bfd/libbfd.c index 0df7e38..695df8d 100644 --- a/bfd/libbfd.c +++ b/bfd/libbfd.c @@ -232,6 +232,7 @@ real_read (where, a,b, file) if (a == 0 || b == 0) return 0; + #if defined (__VAX) && defined (VMS) /* Apparently fread on Vax VMS does not keep the record length information. */ @@ -747,7 +748,6 @@ bfd_seek (abfd, position, direction) file_position += abfd->origin; result = fseek (f, file_position, direction); - if (result != 0) { int hold_errno = errno; -- cgit v1.1