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

don't use assert()

From: Kouhei Sutou <kou_at_cozmixng.org>
Date: Sun, 06 Apr 2008 17:24:03 +0900 (JST)

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()?

Thanks,

--
kou
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-06 10:24:23 CEST

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.