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

Re: Problems when invoking a child process on WinNT

From: Branko Èibej <brane_at_xbc.nu>
Date: 2001-09-13 23:53:11 CEST

Branko �ibej wrote:

> Mats Nilsson wrote:
>
>>
>> [WinNT, SVN M3-r88, using local repository]
>>
>>
>> Upon checking out a simple repository into two separate directories,
>> making different nonoverlapping changes to the same file in the
>> different directories, and 'cvs ci' to one of them and 'cvs up' to
>> the other, svn segfaults in:
>
>
> Get a newer version of APR. I fixed this on Tuesday night (GMT+1).

Oh, and you'll probably need this patch:

[brane@SILMARIL trunk]$ svn di '.\subversion\libsvn_subr\path.c'
Index: .\subversion\libsvn_subr\path.c
===================================================================
--- .\subversion\libsvn_subr\SVN\text-base\path.c Tue Sep 11 22:24:07 2001
+++ .\subversion\libsvn_subr\path.c Tue Sep 11 22:24:08 2001
@@ -95,7 +95,14 @@
                         size_t len,
                         enum svn_path_style style)
 {
+#if 0
   char dirsep = get_separator_from_style (style);
+#else
+ char dirsep;
+ if (len == 1 && component[0] == '.')
+ return;
+ dirsep = get_separator_from_style (style);
+#endif

   if (! svn_stringbuf_isempty (path))
     svn_stringbuf_appendbytes (path, &dirsep, sizeof (dirsep));

I haven't checked this in, because this is not the right place to do
this (either APR should take care of this, or svn_path_canonicalize should).

-- 
Brane �ibej   <brane_at_xbc.nu>            http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:41 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.