[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: Wed, 06 Jul 2011 10:42:15 +0100

Stéphane Gaudreault <stephane_at_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
Received on 2011-07-06 11:43:19 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.