[PATCH] Fix spurious failure of AC_STAT64 test

Dmitry V. Levin ldv at altlinux.org
Wed Jan 27 00:20:14 UTC 2010


On Wed, Jan 27, 2010 at 12:51:01AM +0100, Andreas Schwab wrote:
> "Dmitry V. Levin" <ldv-u2l5PoMzF/Vg9hUCZPvPmw at public.gmane.org> writes:
> > On Mon, Jan 25, 2010 at 11:38:09AM +0100, Andreas Schwab wrote:
> >> Here is a better patch, pre-POSIX systems might need <sys/types.h>
> >> before <sys/stat.h>.
> >
> > I suppose the proposed change fixes a real spurious failure I'm not
> > aware of, but I'd like to know for sure.
> > I'm sorry, but I have to repeat the same question I've already asked
> > before: what is the kernel version and architecture where <asm/stat.h>
> > isn't self-contained?
> 
> $ grep ino_t --include=stat.h -r arch
> arch/mips/include/asm/stat.h:   ino_t           st_ino;
> arch/parisc/include/asm/stat.h: ino_t           st_ino;         /* 32 bits */
> arch/parisc/include/asm/stat.h: ino_t           __unused3;      /* network */
> arch/parisc/include/asm/stat.h: ino_t           st_ino;         /* 32 bits */
> arch/parisc/include/asm/stat.h: ino_t           __unused3;      /* network */
> arch/powerpc/include/asm/stat.h:        ino_t           st_ino;
> arch/sparc/include/asm/stat.h:  ino_t   st_ino;
> arch/sparc/include/asm/stat.h:  ino_t           st_ino;

OK, it's pretty obvious now, please apply the fix.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20100127/1306df79/attachment.bin>


More information about the Strace-devel mailing list