Subject: [Boost-bugs] [Boost C++ Libraries] #11013: file_descriptor_sink won't create a file in "app" mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-02-10 17:55:44
#11013: file_descriptor_sink won't create a file in "app" mode
-------------------------------------+-----------------------
Reporter: Josh Kelley <joshkel@â¦> | Owner: turkanis
Type: Bugs | Status: new
Milestone: To Be Determined | Component: iostreams
Version: Boost 1.57.0 | Severity: Problem
Keywords: |
-------------------------------------+-----------------------
When file_descriptor_sink(filename, ios::app) is used on Linux, it refuses
to create the file if the file doesn't already exist.
This is inconsistent with std::ofstream's behavior with ios::app, and it's
inconsistent with file_descriptor_sink's behavior on Windows (where it
does create the file if it doesn't exist).
See pull request 9 on the boostorg/iostreams GitHub repository.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11013> 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