Boost logo

Boost-Commit :

From: chris_at_[hidden]
Date: 2008-01-14 08:20:06


Author: chris_kohlhoff
Date: 2008-01-14 08:20:06 EST (Mon, 14 Jan 2008)
New Revision: 42752
URL: http://svn.boost.org/trac/boost/changeset/42752

Log:
Add missing broken pipe error.

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

Modified: trunk/boost/asio/error.hpp
==============================================================================
--- trunk/boost/asio/error.hpp (original)
+++ trunk/boost/asio/error.hpp 2008-01-14 08:20:06 EST (Mon, 14 Jan 2008)
@@ -71,6 +71,11 @@
   /// Operation already in progress.
   already_started = BOOST_ASIO_SOCKET_ERROR(EALREADY),
 
+ /// Broken pipe.
+ broken_pipe = BOOST_ASIO_WIN_OR_POSIX(
+ BOOST_ASIO_NATIVE_ERROR(ERROR_BROKEN_PIPE),
+ BOOST_ASIO_NATIVE_ERROR(EPIPE)),
+
   /// A connection has been aborted.
   connection_aborted = BOOST_ASIO_SOCKET_ERROR(ECONNABORTED),
 


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