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

Re: svn commit: r21565 - trunk/subversion/libsvn_wc

From: Daniel Rall <dlr_at_collab.net>
Date: 2006-09-20 20:26:38 CEST

On Wed, 20 Sep 2006, rooneg@tigris.org wrote:

> Author: rooneg
> Date: Wed Sep 20 09:09:10 2006
> New Revision: 21565
>
> Log:
> Convert an error generating function into an error generating macro.
>
> * subversion/libsvn_wc/log.c
> (signal_error): Replaced with...
> (SIGNAL_ERROR): This, a new macro version of signal_error, which allows
> it to return errors with a more useful line number in them.
> (log_do_file_xfer, log_do_modify_entry, start_handler): Use new macro.

We should use this pattern in the C tests. Several of them are using
a function, so line numbers for any returned errors aren't quite
right.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 20 20:26:37 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.