rbb 2002/12/14 18:21:42
Modified: include apr_errno.h Log: Some Unix's return EEXIST instead of ENOTEMPTY when deleting a non-empty dir. This fixes the test. Revision Changes Path 1.103 +2 -1 apr/include/apr_errno.h Index: apr_errno.h =================================================================== RCS file: /home/cvs/apr/include/apr_errno.h,v retrieving revision 1.102 retrieving revision 1.103 diff -u -r1.102 -r1.103 --- apr_errno.h 10 Dec 2002 08:56:41 -0000 1.102 +++ apr_errno.h 15 Dec 2002 02:21:42 -0000 1.103 @@ -1203,7 +1203,8 @@ /** cross device link */ #define APR_STATUS_IS_EXDEV(s) ((s) == APR_EXDEV) /** Directory Not Empty */ -#define APR_STATUS_IS_ENOTEMPTY(s) ((s) == APR_ENOTEMPTY) +#define APR_STATUS_IS_ENOTEMPTY(s) ((s) == APR_ENOTEMPTY || \ + (s) == APR_EEXIST) #endif /* !def OS2 || WIN32 */
