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

Re: CVS update: subversion/subversion/libsvn_fs editor.c

From: <cmpilato_at_collab.net>
Date: 2001-03-19 20:42:00 CET

Kevin Pilch-Bisson <kevin@pilch-bisson.net> writes:

> #define SVN_ERR(expr) \
> do { \
> svn_error_t *svn_err__temp =3D (expr); \
> if (svn_err__temp) \
> return svn_err__temp; \
> } while (0)
>
> It looks like it is being returned to me.

Look at it again with more than 3 lines of context. err is set to the
return value of the commit, and if err is non-NULL, we call abort
(which could have its own set of problems). If abort is successful,
we still want to return to the caller the fact that the original
commit failed.
Received on Sat Oct 21 14:36:26 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.