[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_SYS_LARGEFILE and old OSX framework

From: Paul Eggert
Subject: Re: AC_SYS_LARGEFILE and old OSX framework
Date: Wed, 30 Oct 2013 12:56:57 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

On 10/30/2013 12:46 PM, Diorcet Yann wrote:
> Could be an explanation. but how do you explain the issue on that
> https://gitorious.org/glib/android/source/003dbec6c84798cb5c6a8759258f2b7180e5fa10:glib/gkeyfile.c#L354-1871
> S_ISREG is done just after fstat ... and there is #include "config.h".

I don't know Darwin, but one possible explanation is that
it's not just struct stat that's affected; it's also 'open'.
At least, that's the case for the off_t stuff on many platforms,
and maybe Apple's doing the same for the ino_t stuff.

Anyway, I'd try building the entire application with
-D_DARWIN_USE_64_BIT_INODE.  If that makes the problem go
away we're probably on the right track.  And if not, perhaps
it's not an Autoconf problem anyway.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]