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.

Are there any occurences of plain off_t in the Swig generated code?

  grep '[^_]off_t' subversion/bindings/swig/perl/native/*c

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com

Reply via email to