summaryrefslogtreecommitdiff
path: root/include/apr_errno.h
diff options
context:
space:
mode:
authorbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2002-12-26 08:20:06 +0000
committerbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2002-12-26 08:20:06 +0000
commitff53a886d526ba9f3100ad883ab450b6b59a28ec (patch)
treecf5883c0e089418270aaa0eb1e8c0a3b834fc92d /include/apr_errno.h
parent697917781e1a45f16178b36f250e6062344b83cd (diff)
downloadlibapr-ff53a886d526ba9f3100ad883ab450b6b59a28ec.tar.gz
OS/2: Fill out the possible OS error codes for APR_STATUS_IS_EEXIST.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64208 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_errno.h')
-rw-r--r--include/apr_errno.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/apr_errno.h b/include/apr_errno.h
index 2194187d2..dbb916612 100644
--- a/include/apr_errno.h
+++ b/include/apr_errno.h
@@ -856,7 +856,10 @@ APR_DECLARE(char *) apr_strerror(apr_status_t statcode, char *buf,
#define APR_STATUS_IS_EACCES(s) ((s) == APR_EACCES \
|| (s) == APR_OS_START_SYSERR + ERROR_ACCESS_DENIED \
|| (s) == APR_OS_START_SYSERR + ERROR_SHARING_VIOLATION)
-#define APR_STATUS_IS_EEXIST(s) ((s) == APR_EEXIST)
+#define APR_STATUS_IS_EEXIST(s) ((s) == APR_EEXIST \
+ || (s) == APR_OS_START_SYSERR + ERROR_OPEN_FAILED \
+ || (s) == APR_OS_START_SYSERR + ERROR_FILE_EXISTS \
+ || (s) == APR_OS_START_SYSERR + ERROR_ALREADY_EXISTS)
#define APR_STATUS_IS_ENAMETOOLONG(s) ((s) == APR_ENAMETOOLONG \
|| (s) == APR_OS_START_SYSERR + ERROR_FILENAME_EXCED_RANGE \
|| (s) == APR_OS_START_SYSERR + SOCENAMETOOLONG)