From 54d16b233e850d54683cc0db5e899a02a6482091 Mon Sep 17 00:00:00 2001 From: brane Date: Tue, 1 Dec 2009 09:29:45 +0000 Subject: 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 --- include/apr_errno.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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 \ -- cgit v1.2.1