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

Re: Crash in svn_client_ls()

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-01-26 20:46:50 CET

Philip Martin wrote:
> SteveKing <steveking@gmx.ch> writes:
>
>
>>when calling svn_client_ls() with path_or_url param as an empty string
>>(I know, that's a bug in TSVN) then a crash occurs. Since it's wrong
>>to pass an empty path to that function it's not that important, but
>>still, I think Subversion shouldn't crash but return an error.
>
>
> When you say 'empty string' do you mean "" or do you mean NULL?
> Passing "" (which Subversion refers to as an empty string) should
> work. NULL is an error by the caller, and Subversion doesn't
> generally attempt to catch such errors. If you feel that it should
> catch NULL then I think you will find that most of the Subversion
> developers disagree.

I mean an empty string (""), not NULL.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 26 20:48:35 2005

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.