Re: [Boost-bugs] [Boost C++ Libraries] #6576: boost:::iostreams::file_descriptor throws instead of reading EOF on pipe

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6576: boost:::iostreams::file_descriptor throws instead of reading EOF on pipe
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-29 13:51:43


#6576: boost:::iostreams::file_descriptor throws instead of reading EOF on pipe
-------------------------------+--------------------------------------------
  Reporter: maihem@… | Owner: turkanis
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: iostreams
   Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords: pipe read ReadFile CreatePipe
-------------------------------+--------------------------------------------

Comment (by boris@…):

 I can confirm the bug (tested with Boost 1.50.0). I can also confirm that
 the proposed bug fix works (file_descriptor_impl::read should return -1
 when GetLastError returns ERROR_BROKEN_PIPE). I've attached two test
 programs which can be used to reproduce the problem and to test a possible
 fix.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6576#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC