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

Re: apr error and defines

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2005-10-31 11:44:29 CET

On 10/31/05, Stefan K√ľng <tortoisesvn@gmail.com> wrote:
> Hi,
>
> I've now tried for a whole hour to find the corresponding error define
> for the error
> err->apr_error = 160013
>
> Can anyone tell me the define for that error (to use in an if() ) or at
> least point me to where I should look for it myself?

Use APR_TO_OS_ERROR to find out which OS error is behind the error code.

#define APR_TO_OS_ERROR ( e ) (e == 0 ? APR_SUCCESS : e -
APR_OS_START_SYSERR)

Yes, I too have had numerous occasions where I'd have loved to have a
lookup table (or error string) telling me exactly which error I was
looking at.

bye,

Erik.
Received on Mon Oct 31 11:45:31 2005

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.