Le 6 juillet 2011 05:42:15, Philip Martin a écrit :
> Stéphane Gaudreault <steph...@archlinux.org> writes:
> > # apr-1-config --cflags
> > 
> >   -pthread
> > 
> > # apr-1-config --cppflags
> > 
> >  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
> 
> So that is the standard APR with large-file support.  APR doesn't use
> -D_FILE_OFFSET_BITS=64 because it defines its own 64bit apr_off_t and
> uses that.  Subversion follows APR and also uses apr_off_t.  The Swig
> generated code should only depend on APR/Subversion types.
> 
> I don't know what has gone wrong.
> 
> What is the typdef line for apr_off_t in apr.h?  It should be something
> that is 64bit irrespective of _FILE_OFFSET_BITS.

typedef  off64_t           apr_off_t;

> Are there any occurences of plain off_t in the Swig generated code?
> 
>   grep '[^_]off_t' subversion/bindings/swig/perl/native/*c

No.

apr version 1.4.5, apr-util version 1.3.12.

Reply via email to