summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2001-06-16 01:08:59 +0000
committerbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2001-06-16 01:08:59 +0000
commitbbfd360a529f94e5a92d8891a1bef3e4adb69866 (patch)
treeb7fec8d84d2eb24d739241a8d7679a6f10e3fdc5 /include
parent0a1fd71b843abebbcc070487fc4430b60516c4d9 (diff)
downloadlibapr-bbfd360a529f94e5a92d8891a1bef3e4adb69866.tar.gz
OS/2: Add another possibility for ENOENT & fix a missing macro line joiner
in APR_STATUS_IS_EPIPE. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61772 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/apr_errno.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/apr_errno.h b/include/apr_errno.h
index 1e05819d5..cdca159e9 100644
--- a/include/apr_errno.h
+++ b/include/apr_errno.h
@@ -546,6 +546,7 @@ APR_DECLARE(char *) apr_strerror(apr_status_t statcode, char *buf,
#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_NO_MORE_FILES \
|| (s) == APR_OS_START_SYSERR + ERROR_OPEN_FAILED)
#define APR_STATUS_IS_ENOTDIR(s) ((s) == APR_ENOTDIR)
#define APR_STATUS_IS_ENOSPC(s) ((s) == APR_ENOSPC \
@@ -585,7 +586,7 @@ APR_DECLARE(char *) apr_strerror(apr_status_t statcode, char *buf,
|| (s) == APR_OS_START_SYSERR + SOCENETUNREACH)
#define APR_STATUS_IS_EFTYPE(s) ((s) == APR_EFTYPE)
#define APR_STATUS_IS_EPIPE(s) ((s) == APR_EPIPE \
- || (s) == APR_OS_START_SYSERR + ERROR_BROKEN_PIPE
+ || (s) == APR_OS_START_SYSERR + ERROR_BROKEN_PIPE \
|| (s) == APR_OS_START_SYSERR + SOCEPIPE)
/*