[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 7162 - trunk/subversion/libsvn_subr

From: C.Michael Pilato <cmpilato_at_collab.net>
Date: 2003-09-24 19:03:43 CEST

Branko Čibej <brane@xbc.nu> writes:

> I can't remember, should we check ENOENT before ENOTDIR, or the other
> way around? /me fumbles in the APR sources ... Ah, I knew I wrote
> something to that effect:
>
> * @warning For any particular error condition, more than one of these tests
> * may match. This is because platform-specific error codes may not
> * always match the semantics of the POSIX codes these tests (and the
> * correcponding APR error codes) are named after. A notable example
> * are the APR_STATUS_IS_ENOENT and APR_STATUS_IS_ENOTDIR tests on
> * Win32 platforms. The programmer should always be aware of this and
> * adjust the order of the tests accordingly.
>
>
> (Yuck, I also wrote that typo.)
>
> Yah, it should be ENOTDIR before ENOENT, so everything is fine.

Sorry, I'm lost in the noise -- are you saying that I don't need to
change anything?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 24 19:05:20 2003

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.