summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrane <brane@13f79535-47bb-0310-9956-ffa450edef68>2009-12-01 09:29:45 +0000
committerbrane <brane@13f79535-47bb-0310-9956-ffa450edef68>2009-12-01 09:29:45 +0000
commit54d16b233e850d54683cc0db5e899a02a6482091 (patch)
treeb72404d5720f3dd8d7ba2d040a71eb49d0cc43f4 /include
parent06c5919a2defadb2c6508616d88cf0df6b596e6f (diff)
downloadlibapr-54d16b233e850d54683cc0db5e899a02a6482091.tar.gz
Merge r821306 from trunk:
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/branches/1.4.x@885699 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 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 \