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

Aaron W. LaFramboise aaron98wiridge9@aaronwl.com
Sat Oct 16 20:19:00 GMT 2004


Jakub Jelinek wrote:

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

Aaron W. LaFramboise
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: binutils-head-20041016-stat.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20041016/b8e966c5/attachment.ksh>


More information about the Binutils mailing list