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

Re: subversion cross compile (arm)

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 06 Dec 2010 10:37:28 +0000

Takács András <wakoond_at_gmail.com> writes:

>> Here you are printing 64-bits, so some part of your system thinks that
>> apr_off_t is 64-bits.  How are apr_off_t and APR_HAS_LARGE_FILES defined
>> in apr.h?
>
> #define APR_HAS_LARGE_FILES 0
> typedef off_t apr_off_t;
>
> I think this is OK, isn't it?

It shows that APR is just following the rest of the system. When you
printed values you showed 64 bits so it looks like off_t is 64-bits,
which conflicts with your earlier statement that you were using 32-bit
file offsets. However the 64-bit values you printed look as if the
lower 32-bits are valid and the higher 32-bits are junk. Your
environment appears to be confused about the size of file offsets.

-- 
Philip
Received on 2010-12-06 11:38:10 CET

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