Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 14128 invoked by uid 500); 2 Jul 2002 00:12:10 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 13961 invoked from network); 2 Jul 2002 00:12:08 -0000 Message-ID: <3D20EFDD.4050607@xbc.nu> Date: Tue, 02 Jul 2002 02:12:13 +0200 From: =?UTF-8?B?QnJhbmtvIMSMaWJlag==?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a) Gecko/20020611 X-Accept-Language: sl, en-gb, en MIME-Version: 1.0 To: dev@apr.apache.org Subject: Re: cvs commit: apr/include apr_errno.h References: <20020702001044.50946.qmail@icarus.apache.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N Checking this in, after getting three +1's (myself, Wrowe and Cliff), and no negative votes. brane@apache.org wrote: >brane 2002/07/01 17:10:44 > > Modified: include apr_errno.h > Log: > Added ERROR_PATH_NOT_FOUND to the Win32 APR_STATUS_IS_ENOENT test, > and added docs explaining why. > See also <3D1CBC64.3010404@xbc.nu> and thread. > > Revision Changes Path > 1.92 +11 -0 apr/include/apr_errno.h > > Index: apr_errno.h > =================================================================== > RCS file: /home/cvs/apr/include/apr_errno.h,v > retrieving revision 1.91 > retrieving revision 1.92 > diff -u -r1.91 -r1.92 > --- apr_errno.h 20 May 2002 13:22:36 -0000 1.91 > +++ apr_errno.h 2 Jul 2002 00:10:44 -0000 1.92 > @@ -283,6 +283,16 @@ > > /* APR ERROR VALUE TESTS */ > /** > + * @defgroup APRErrorValueTests Error Value Tests > + * @remark 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. > + */ > +/** > * APR was unable to perform a stat on the file > * @warning always use this test, as platform-specific variances may meet this > * more than one error code > @@ -923,6 +933,7 @@ > || (s) == APR_OS_START_SYSERR + WSAENAMETOOLONG) > #define APR_STATUS_IS_ENOENT(s) ((s) == APR_ENOENT \ > || (s) == APR_OS_START_SYSERR + ERROR_FILE_NOT_FOUND \ > + || (s) == APR_OS_START_SYSERR + ERROR_PATH_NOT_FOUND \ > || (s) == APR_OS_START_SYSERR + ERROR_OPEN_FAILED \ > || (s) == APR_OS_START_SYSERR + ERROR_NO_MORE_FILES) > #define APR_STATUS_IS_ENOTDIR(s) ((s) == APR_ENOTDIR \ > > > > > > -- Brane Čibej http://www.xbc.nu/brane/