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

Re: crash with incomplete url

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2006-05-23 20:19:46 CEST

Malcolm Rowe writes:
> On Tue, May 23, 2006 at 02:51:56PM +0200, Peter N. Lundblad wrote:
> > My position on this is that svn_path_canonicalize should not crash fro
> > any string, and no library function should crash on any string
> > returned by svn_path_canonicalize.
> >
>
> Strong +1 in theory, except: what should svn_path_canonicalize() do when
> passed an invalid path or URL? There appears to be no way to return
> an error.
>
Canonicalize according to its documentation. Invalid URLs need to be handled
by the path functions. No one says we should crash on "hppt://foo/bar".

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 23 20:20:22 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.