From commits-return-6941-apmail-apr-commits-archive=apr.apache.org@apr.apache.org Tue Aug 23 12:47:28 2005 Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 88241 invoked from network); 23 Aug 2005 12:47:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2005 12:47:28 -0000 Received: (qmail 50023 invoked by uid 500); 23 Aug 2005 12:47:27 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 49913 invoked by uid 500); 23 Aug 2005 12:47:27 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 49900 invoked by uid 99); 23 Aug 2005 12:47:27 -0000 X-ASF-Spam-Status: No, hits=-9.6 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 23 Aug 2005 05:47:27 -0700 Received: (qmail 88213 invoked by uid 65534); 23 Aug 2005 12:47:26 -0000 Message-ID: <20050823124726.88210.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r239401 - /apr/apr/branches/0.9.x/include/apr_errno.h Date: Tue, 23 Aug 2005 12:47:26 -0000 To: commits@apr.apache.org From: trawick@apache.org X-Mailer: svnmailer-1.0.3 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: trawick Date: Tue Aug 23 05:47:25 2005 New Revision: 239401 URL: http://svn.apache.org/viewcvs?rev=239401&view=rev Log: Backport from trunk: APR_STATUS_IS_ENOENT(): check for EMVSCATLG on z/OS Modified: apr/apr/branches/0.9.x/include/apr_errno.h Modified: apr/apr/branches/0.9.x/include/apr_errno.h URL: http://svn.apache.org/viewcvs/apr/apr/branches/0.9.x/include/apr_errno.h?rev=239401&r1=239400&r2=239401&view=diff ============================================================================== --- apr/apr/branches/0.9.x/include/apr_errno.h (original) +++ apr/apr/branches/0.9.x/include/apr_errno.h Tue Aug 23 05:47:25 2005 @@ -1123,8 +1123,18 @@ #define APR_STATUS_IS_EEXIST(s) ((s) == APR_EEXIST) /** path name is too long */ #define APR_STATUS_IS_ENAMETOOLONG(s) ((s) == APR_ENAMETOOLONG) -/** no such file or directory */ +/** + * no such file or directory + * @remark + * EMVSCATLG can be returned by the automounter on z/OS for + * paths which do not exist. + */ +#ifdef EMVSCATLG +#define APR_STATUS_IS_ENOENT(s) ((s) == APR_ENOENT \ + || (s) == EMVSCATLG) +#else #define APR_STATUS_IS_ENOENT(s) ((s) == APR_ENOENT) +#endif /** not a directory */ #define APR_STATUS_IS_ENOTDIR(s) ((s) == APR_ENOTDIR) /** no space left on device */