apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r239284 - /apr/apr/trunk/include/apr_errno.h
Date Tue, 23 Aug 2005 01:36:29 GMT
Author: trawick
Date: Mon Aug 22 18:36:26 2005
New Revision: 239284

URL: http://svn.apache.org/viewcvs?rev=239284&view=rev
Log:
APR_STATUS_IS_ENOENT(): check for EMVSCATLG
on z/OS

Modified:
    apr/apr/trunk/include/apr_errno.h

Modified: apr/apr/trunk/include/apr_errno.h
URL: http://svn.apache.org/viewcvs/apr/apr/trunk/include/apr_errno.h?rev=239284&r1=239283&r2=239284&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_errno.h (original)
+++ apr/apr/trunk/include/apr_errno.h Mon Aug 22 18:36:26 2005
@@ -1132,8 +1132,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 */



Mime
View raw message