Re: [Boost-bugs] [Boost C++ Libraries] #3935: stream<file_sink> does not throw an exception and not set fail/bad bits when file is wrong

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3935: stream<file_sink> does not throw an exception and not set fail/bad bits when file is wrong
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-11-05 04:30:42


#3935: stream<file_sink> does not throw an exception and not set fail/bad bits
when file is wrong
-----------------------------+-----------------------
  Reporter: zxspeccy.cpp@… | Owner: turkanis
      Type: Bugs | Status: new
 Milestone: Boost 1.43.0 | Component: iostreams
   Version: Boost 1.42.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------+-----------------------

Comment (by anonymous):

 Five years and this serious bug is still open?

 As a workaround, use file_descriptor_sink. That one throws an exception
 if the file can't be opened.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3935#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:17 UTC