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

Re: [PATCH] Fix issue #2068

From: Senthil Kumaran S <senthil_at_collab.net>
Date: Sat, 21 Mar 2009 10:04:34 +0530

Hi,

Bert Huijben wrote:
> * It doesn't handle multiple escaped semicolons as
> "myprop=string;;;;continued;nextprop=q" and
> "myprop=string;;and;;string;nextprop=q"
>
> I'm not sure if these issues are all fixable using apr_strtok, as that
> function replaces the ';' with a '\0'.

Here is my latest/updated patch attached :) This does not break backward
compatibility.

[[[
Fix issue #2068.

* subversion/libsvn_client/add.c
  (split_props): New function to split individual properties, which escapes
   double semi-colons ie., ";;"
  (auto_props_enumerator): Use split_props to collect individual properties
   and then store each one of them.

Suggested by: rhuijben
]]]

Thank You.

-- 
Senthil Kumaran S
http://www.stylesen.org/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1370101

Received on 2009-03-21 05:35:33 CET

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