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

[PATCH] extend the SVN_ERR macro with a cleanup statement parameter

From: Danny Trebbien <dtrebbien_at_gmail.com>
Date: Sun, 13 Feb 2011 11:59:30 -0800

Attached is a small patch to extend the SVN_ERR macro with another
parameter, a cleanup statement, that is executed before the error
generated by EXPR (if not SVN_NO_ERROR) is returned. Also attached is
a log message.

I plan on using this in a test of svn_subst_translate_string2() in
which I need to reset the locale to whatever it was before the test
began. See: http://thread.gmane.org/gmane.comp.version-control.subversion.devel/125782

Received on 2011-02-13 21:00:10 CET

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