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

Re: svn commit: rev 2586 - trunk trunk/subversion/libsvn_subr

From: Justin Erenkrantz <jerenkrantz_at_apache.org>
Date: 2002-07-20 00:24:28 CEST

On Fri, Jul 19, 2002 at 12:45:43PM -0500, Karl Fogel wrote:
> Branko ??ibej <brane@xbc.nu> writes:
> > >+ /* apr_xlate_open returns EINVAL if no handle could be found. */
> > >+ if (apr_err == EINVAL)
> > >
> >
> > APR_STATUS_IS_EINVAL(apr_err), please.
>
> I wish. However, currently the functions return EINVAL, not
> APR_EINVAL. The APR_STATUS_IS_EINVAL macro only tests for the latter,
> I thought.

On systems where EINVAL is defined (i.e. where the old code
compiled), APR_EINVAL is just #define'd to EINVAL.

APR is full of neato-tricks like that. -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 20 00:25:05 2002

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.