diff options
author | brane <brane@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-03 12:50:34 +0000 |
---|---|---|
committer | brane <brane@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-03 12:50:34 +0000 |
commit | 0198dd501c0c27e0f53ef6dd3ca72a50b5af7baf (patch) | |
tree | cb07e67c7f0baf9cbc84aaa0385b86873897dfc3 /include/apr_errno.h | |
parent | 67e05884e6e50fe13e35a7f314508d402414ecac (diff) | |
download | libapr-0198dd501c0c27e0f53ef6dd3ca72a50b5af7baf.tar.gz |
On Windows, map the system error code ERROR DIRECTORY which means
"directory name is not valid" into APR_STATUS_IS_ENOTDIR.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@821306 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_errno.h')
-rw-r--r-- | include/apr_errno.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/apr_errno.h b/include/apr_errno.h index f34e8d98b..ea750c972 100644 --- a/include/apr_errno.h +++ b/include/apr_errno.h @@ -1046,7 +1046,8 @@ APR_DECLARE(char *) apr_strerror(apr_status_t statcode, char *buf, || (s) == APR_OS_START_SYSERR + ERROR_BAD_NETPATH \ || (s) == APR_OS_START_SYSERR + ERROR_BAD_NET_NAME \ || (s) == APR_OS_START_SYSERR + ERROR_BAD_PATHNAME \ - || (s) == APR_OS_START_SYSERR + ERROR_INVALID_DRIVE) + || (s) == APR_OS_START_SYSERR + ERROR_INVALID_DRIVE \ + || (s) == APR_OS_START_SYSERR + ERROR_DIRECTORY) #define APR_STATUS_IS_ENOSPC(s) ((s) == APR_ENOSPC \ || (s) == APR_OS_START_SYSERR + ERROR_DISK_FULL) #define APR_STATUS_IS_ENOMEM(s) ((s) == APR_ENOMEM \ |