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

Re: don't use assert()

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sun, 06 Apr 2008 10:28:04 +0200

Kouhei Sutou wrote:
> Hi,
>
> svn_client_mergeinfo_log_merged() uses assert():
>
> assert(svn_path_is_url(merge_source_url));
>
> It aborts a program when svn_path_is_url returns false. This
> behavior may be useful for a stand alone program but isn't
> useful for a library. Could you return some svn_error_t *
> instead of using assert()?

Join the club:
http://subversion.tigris.org/issues/show_bug.cgi?id=2780

You're not the only one having problems with this...

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-04-06 10:28:27 CEST

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