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

Re: Detecting unhandled errors, WAS: RE: svn commit: rev 7373 - trunk/subversion/libsvn_client

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2003-10-10 21:31:13 CEST

"Sander Striker" <s.striker@striker.nl> writes:

> My vote is for:
>
> static apr_status_t err_abort(void *data)
> {
> abort();
> }
>
> In the error creation code:
>
> apr_pool_cleanup_register(err->pool, NULL, err_abort, NULL);
>
> And:
>
> svn_error_clear (svn_error_t *err)
> {
> if (err)
> {
> apr_pool_cleanup_kill(err->pool, NULL, err_abort);
> apr_pool_destroy (err->pool);
> }
> }

I have no problems with such a thing. Want me to implement it?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 10 21:32:23 2003

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.