mirror of
https://github.com/boostorg/system.git
synced 2025-07-30 20:47:14 +02:00
System: Only supply case EALREADY if EALREADY != EBUSY, to close a portion of ticket #2288
[SVN r49220]
This commit is contained in:
@ -166,7 +166,9 @@ namespace
|
|||||||
case EADDRNOTAVAIL: return make_error_condition( address_not_available );
|
case EADDRNOTAVAIL: return make_error_condition( address_not_available );
|
||||||
case EAFNOSUPPORT: return make_error_condition( address_family_not_supported );
|
case EAFNOSUPPORT: return make_error_condition( address_family_not_supported );
|
||||||
case EAGAIN: return make_error_condition( resource_unavailable_try_again );
|
case EAGAIN: return make_error_condition( resource_unavailable_try_again );
|
||||||
|
# if EALREADY != EBUSY // EALREADY and EBUSY are the same on QNX Neutrino
|
||||||
case EALREADY: return make_error_condition( connection_already_in_progress );
|
case EALREADY: return make_error_condition( connection_already_in_progress );
|
||||||
|
# endif
|
||||||
case EBADF: return make_error_condition( bad_file_descriptor );
|
case EBADF: return make_error_condition( bad_file_descriptor );
|
||||||
case EBADMSG: return make_error_condition( bad_message );
|
case EBADMSG: return make_error_condition( bad_message );
|
||||||
case EBUSY: return make_error_condition( device_or_resource_busy );
|
case EBUSY: return make_error_condition( device_or_resource_busy );
|
||||||
|
Reference in New Issue
Block a user