forked from boostorg/system
AIX treats ENOTEMPTY and EEXIST as the same value. Reported by Chris Cambly
[SVN r39577]
This commit is contained in:
@@ -208,7 +208,9 @@ namespace
|
|||||||
case ENOSYS: return make_error_condition( function_not_supported );
|
case ENOSYS: return make_error_condition( function_not_supported );
|
||||||
case ENOTCONN: return make_error_condition( not_connected );
|
case ENOTCONN: return make_error_condition( not_connected );
|
||||||
case ENOTDIR: return make_error_condition( not_a_directory );
|
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 );
|
case ENOTEMPTY: return make_error_condition( directory_not_empty );
|
||||||
|
# endif // ENOTEMPTY != EEXIST
|
||||||
case ENOTRECOVERABLE: return make_error_condition( state_not_recoverable );
|
case ENOTRECOVERABLE: return make_error_condition( state_not_recoverable );
|
||||||
case ENOTSOCK: return make_error_condition( not_a_socket );
|
case ENOTSOCK: return make_error_condition( not_a_socket );
|
||||||
case ENOTSUP: return make_error_condition( not_supported );
|
case ENOTSUP: return make_error_condition( not_supported );
|
||||||
|
Reference in New Issue
Block a user