Re: stat() replacement with _LARGE_FILES on AIX

2009-10-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 10/30/2009 10:44 AM: > Nope, you've done enough. Thanks! Now all I have to do is test that your > patch doesn't break Linux or Solaris (that is, either autoconf doesn't set > _LARGE_FILES for those platforms, or the use o

Re: stat() replacement with _LARGE_FILES on AIX

2009-10-30 Thread Eric Blake
Michael Haubenwallner salomon.at> writes: > > If stat is defined, we can't be positive it was defined to stat64 or some > > other spelling, like __stat64. I'd feel safer blindly replacing all known > > spellings, as and when we encounter them. > > Fine with me. > > > So that I can fully unders

Re: stat() replacement with _LARGE_FILES on AIX

2009-10-30 Thread Michael Haubenwallner
Eric Blake wrote: > According to Michael Haubenwallner on 10/30/2009 6:21 AM: >> Hi, > >> using stat() replacement on AIX results in these build errors (seen in >> gzip-1.3.13 on AIX5.3), because AIX defines 'stat' to 'stat64' when >> _LARGE_FILES is defined (by AC_SYS_LARGEFILE): > > Thanks for

Re: stat() replacement with _LARGE_FILES on AIX

2009-10-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Michael Haubenwallner on 10/30/2009 6:21 AM: > Hi, > > using stat() replacement on AIX results in these build errors (seen in > gzip-1.3.13 on AIX5.3), because AIX defines 'stat' to 'stat64' when > _LARGE_FILES is defined (by AC_SYS_LARGE

stat() replacement with _LARGE_FILES on AIX

2009-10-30 Thread Michael Haubenwallner
Hi, using stat() replacement on AIX results in these build errors (seen in gzip-1.3.13 on AIX5.3), because AIX defines 'stat' to 'stat64' when _LARGE_FILES is defined (by AC_SYS_LARGEFILE): CC lstat.o lstat.c:62: warning: "struct stat" declared inside parameter list lstat.c:63: error: confl