Boost logo

Boost-Commit :

From: chris_at_[hidden]
Date: 2007-10-17 00:44:39


Author: chris_kohlhoff
Date: 2007-10-17 00:44:38 EDT (Wed, 17 Oct 2007)
New Revision: 40104
URL: http://svn.boost.org/trac/boost/changeset/40104

Log:
Revert HP-UX/aCC change to select() wrapper as it breaks more than it fixes.

Text files modified:
   trunk/boost/asio/detail/socket_ops.hpp | 7 -------
   1 files changed, 0 insertions(+), 7 deletions(-)

Modified: trunk/boost/asio/detail/socket_ops.hpp
==============================================================================
--- trunk/boost/asio/detail/socket_ops.hpp (original)
+++ trunk/boost/asio/detail/socket_ops.hpp 2007-10-17 00:44:38 EDT (Wed, 17 Oct 2007)
@@ -542,15 +542,8 @@
       && timeout->tv_usec > 0 && timeout->tv_usec < 1000)
     timeout->tv_usec = 1000;
 #endif // defined(BOOST_WINDOWS) || defined(__CYGWIN__)
-
-#if defined(__hpux) && defined(__HP_aCC) && !defined(_XOPEN_SOURCE_EXTENDED)
- return error_wrapper(::select(nfds,
- reinterpret_cast<int*>(readfds), reinterpret_cast<int*>(writefds),
- reinterpret_cast<int*>(exceptfds), timeout), ec);
-#else
   return error_wrapper(::select(nfds, readfds,
         writefds, exceptfds, timeout), ec);
-#endif
 }
 
 inline int poll_read(socket_type s, boost::system::error_code& ec)


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