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

Re: svn commit: r26533 - in trunk/subversion: include libsvn_client libsvn_subr libsvn_wc

From: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2007-09-12 19:26:33 CEST

On Sep 12, 2007, at 2:13 AM, Karl Fogel wrote:

> "Ivan Zhakov" <chemodax@gmail.com> writes:
>> I'd like idea to test for err->pool in svn_error_clear(), but we
>> cannot. err->pool is used for functions like svn_handle_error2().
>
> Ah, in other words: the problem isn't that we can't test for it, but
> rather that we simply can't let it be NULL (for most error objects,
> though not in the svn_iter_break case).

Yup. I've experienced the case Ivan points out when neglecting to
return properly initialized svn_error_t's, and they've been
propagated through the call stack to the command-line client's error
handling.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 12 23:54:20 2007

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.