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

Re: Can err->message be NULL?

From: <kfogel_at_collab.net>
Date: 2005-07-05 23:04:38 CEST

Erik Huelsmann <ehuels@gmail.com> writes:
> On 7/5/05, kfogel@collab.net <kfogel@collab.net> wrote:
> > Our documentation for 'svn_error_t' does not specify whether the
> > message field can ever be NULL. Our code is inconsistent about
> > checking for this before using err->message.
> >
> > Do we want to have a policy? If so, which?
>
> err->message is NULL if there's nothing more to say than just the
> default error message.

Okay. Hmmm, I think there are a lot of places where we should be
checking but are not...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 6 00:52:27 2005

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