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

Re: svn commit: r37709 - trunk/subversion/libsvn_subr

From: Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA_at_GMail.Com>
Date: Tue, 12 May 2009 18:12:18 +0200

2009-05-12 17:42:01 Bert Huijben napisaƂ(a):
> > -----Original Message-----
> > From: Arfrever Frehtes Taifersar Arahesis [mailto:Arfrever.FTA_at_GMail.Com]
> > Sent: dinsdag 12 mei 2009 17:31
> > To: svn_at_subversion.tigris.org
> > Subject: svn commit: r37709 - trunk/subversion/libsvn_subr
> >
> > Author: arfrever
> > Date: Tue May 12 08:30:42 2009
> > New Revision: 37709
> >
> > Log:
> > When SVN_DEBUG is defined, print error messages containing details about
> > failures of dynamic loading of libraries performed by apr_dso_load().
> >
> > * subversion/libsvn_subr/dso.c
> > (svn_dso_load): Print message retrieved by apr_dso_error().
>
> Why is this necessary?
>
> If the error is useful, the full error message can be returned (as wrapped
> error?) in the svn_error_t* returned by this function

The doc string of svn_dso_load() contains:
"If @a libname cannot be loaded set @a dso to NULL and return @c SVN_NO_ERROR."

The error message might be useful to find bugs such as the one introduced
in r35309+r35385+r36823.

-- 
Arfrever Frehtes Taifersar Arahesis

Received on 2009-05-12 18:12:04 CEST

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