[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] [perl bindings] Bizarre copy of UNKNOWN in subroutine

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 07 Jul 2011 12:27:05 +0100

Stéphane Gaudreault <stephane_at_archlinux.org> writes:

>> 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;

So APR/Subversion are using 64-offsets irrespective of

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

There must be some code somewhere that does depend on _FILE_OFFSET_BITS.

From another 32-bit machine it appears that -D_FILE_OFFSET_BITS=64
usually appears in SWIG_PL_INCLUDES in the top level Makefile. It gets
there via:

  perl -MExtUtils::Embed -e ccopts

What does that return on your machine?

uberSVN: Apache Subversion Made Easy
Received on 2011-07-07 13:27:50 CEST

This is an archived mail posted to the Subversion Dev mailing list.