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

Re: [PATCH] Last two ra callbacks for Python binding

From: David James <james_at_cs.toronto.edu>
Date: 2007-08-17 19:57:49 CEST

On 8/16/07, Eric Gillespie <epg@pretzelnet.org> wrote:
> "David James" <james@cs.toronto.edu> writes:
>
> > In order for this to work on old versions of APR where
> > sizeof(apr_off_t) == sizeof(long), you'll have to case this based on
> > sizeof(progress) and sizeof(long).
>
> Actually, how about this. We only had to worry about it with the
> format string because va_arg needs to know how many bytes to pull
> off the stack, but we know that whatever we have fits in a long
> long, so let's just convert up-front.

Looks good. Nice trick!

Cheers,

David

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 17 19:55:43 2007

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