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

Re: [PATCH] binary property values in Perl API

From: Geoff Richards <qef_at_ungwe.org>
Date: 2006-09-14 03:36:30 CEST

On Wed, Sep 13, 2006 at 05:37:33AM +0100, Geoff Richards wrote:
> Warning: this patch is untested. The modified file does compile without
> any additional warnings, but I can't currently compile or test the Perl
> bindings as a whole. Someone who knows how this stuff works needs to
> give it a spin, but I think it should work.
>
> This should fix the passing of binary values for properties between C
> and Perl. Currently Perl delta editors receive truncated values for
> properties which contain null bytes.

OK, I've tested the patch and it seems to work fine. I've added a test
which fails without it, but passes with the fix added. This also
includes some other new testing code for SVN::Fs and SVN::Ra which I
was working on anyway. These two test files all pass as of r21492.

So, new version of the patch attached. The C code changes are the same
as last time.

-- 
--- Geoff Richards -------------><-------------- http://ungwe.org/ ---
"I tried to fling my shadow at the moon,
 The while my blood leapt with a wordless song."  --  Theodore Roethke


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Thu Sep 14 03:36:53 2006

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.