|
Boost-Commit : |
From: bdawes_at_[hidden]
Date: 2007-09-27 12:56:23
Author: bemandawes
Date: 2007-09-27 12:56:23 EDT (Thu, 27 Sep 2007)
New Revision: 39577
URL: http://svn.boost.org/trac/boost/changeset/39577
Log:
AIX treats ENOTEMPTY and EEXIST as the same value. Reported by Chris Cambly
Text files modified:
trunk/libs/system/src/error_code.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Modified: trunk/libs/system/src/error_code.cpp
==============================================================================
--- trunk/libs/system/src/error_code.cpp (original)
+++ trunk/libs/system/src/error_code.cpp 2007-09-27 12:56:23 EDT (Thu, 27 Sep 2007)
@@ -208,7 +208,9 @@
case ENOSYS: return make_error_condition( function_not_supported );
case ENOTCONN: return make_error_condition( not_connected );
case ENOTDIR: return make_error_condition( not_a_directory );
+ # if ENOTEMPTY != EEXIST // AIX treats ENOTEMPTY and EEXIST as the same value
case ENOTEMPTY: return make_error_condition( directory_not_empty );
+ # endif // ENOTEMPTY != EEXIST
case ENOTRECOVERABLE: return make_error_condition( state_not_recoverable );
case ENOTSOCK: return make_error_condition( not_a_socket );
case ENOTSUP: return make_error_condition( not_supported );
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk