You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2005/08/23 14:44:51 UTC
svn commit: r239399 - /apr/apr/branches/1.2.x/include/apr_errno.h
Author: trawick
Date: Tue Aug 23 05:44:49 2005
New Revision: 239399
URL: http://svn.apache.org/viewcvs?rev=239399&view=rev
Log:
Backport from trunk:
APR_STATUS_IS_ENOENT(): check for EMVSCATLG
on z/OS
Modified:
apr/apr/branches/1.2.x/include/apr_errno.h
Modified: apr/apr/branches/1.2.x/include/apr_errno.h
URL: http://svn.apache.org/viewcvs/apr/apr/branches/1.2.x/include/apr_errno.h?rev=239399&r1=239398&r2=239399&view=diff
==============================================================================
--- apr/apr/branches/1.2.x/include/apr_errno.h (original)
+++ apr/apr/branches/1.2.x/include/apr_errno.h Tue Aug 23 05:44:49 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 */