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

Re: [PATCH] But with trailing slashes in SVNPath command in httpd.conf

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-09-04 22:17:22 CEST

Philip Martin wrote:

>Branko ÄŒibej <brane@xbc.nu> writes:
>
>
>
>>Is there reason why svn_path_canonicalize_nts shouldnt accept a NULL
>>path and return NULL?
>>
>>
>
>NULL is not a canonical path, lots of the Subversion functions will
>dump core on a NULL path. I suppose it could return the empty path
>("") but I don't think that's a good thing to do.
>
If "" is the current directory these days, then canonicalizing NULL to
"" would definitely be wrong. :-)

>I am happy saying that NULL is an error.
>
>
Sure. The question is whether svn_path_canonicalize sould abort on NULL,
or pass it through and let some other code abort instead.

-- 
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 Wed Sep 4 22:17:58 2002

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.