This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Fix strings to work with > 2GB files again on 32-bit arches
On Mon, Oct 18, 2004 at 02:50:46PM +0100, Nick Clifton wrote:
> 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.
Sorry about that. It works for me on Linux, as fcntl.h includes there
sys/stat.h (which POSIX allows).
Jakub