Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49220 - trunk/libs/system/src
From: bdawes_at_[hidden]
Date: 2008-10-09 15:01:58


Author: bemandawes
Date: 2008-10-09 15:01:57 EDT (Thu, 09 Oct 2008)
New Revision: 49220
URL: http://svn.boost.org/trac/boost/changeset/49220

Log:
System: Only supply case EALREADY if EALREADY != EBUSY, to close a portion of ticket #2288
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 2008-10-09 15:01:57 EDT (Thu, 09 Oct 2008)
@@ -166,7 +166,9 @@
     case EADDRNOTAVAIL: return make_error_condition( address_not_available );
     case EAFNOSUPPORT: return make_error_condition( address_family_not_supported );
     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 );
+# endif
     case EBADF: return make_error_condition( bad_file_descriptor );
     case EBADMSG: return make_error_condition( bad_message );
     case EBUSY: return make_error_condition( device_or_resource_busy );


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