[PATCH] Fix strings to work with > 2GB files again on 32-bit arches

Nick Clifton nickc@redhat.com
Mon Oct 18 13:45:00 GMT 2004


Hi Aaron,

>>2004-10-11  Jakub Jelinek  <jakub@redhat.com>
>>
>>	* strings.c (statbuf): New typedef.
>>	(file_stat): Define.
>>	(strings_object_file): Avoid using get_file_size, instead do the
>>	checks here, using file_stat.
>>	* configure.in (HAVE_STAT64): New test.
>>	* configure: Rebuilt.
>>	* config.in: Rebuilt.

> This patch breaks i686-pc-mingw32 because struct stat isn't defined.
> Including <sys/stat.h> fixes it.
> 
> I have a copyright assignment but no CVS access.

No worries - I have checked your patch in.

Cheers
   Nick




More information about the Binutils mailing list