id summary reporter owner description type status milestone component version severity resolution keywords cc 2817 boost::iostreams::file_descriptor::is_open() implemented incorrectly boost@… Jonathan Turkanis "On line 70 of file_descriptor.hpp the is_open() function checks if flags are zero to determine if the file descriptor is open: bool is_open() const { return pimpl_->flags_ != 0; } pimpl_->flags_ is always zero unless close_on_exit is enabled. So close_on_exit is the only thing that determines what is_open() will return. I believe the code should be: #ifdef BOOST_IOSTREAMS_WINDOWS bool is_open() const { return pimpl_->handle_ != reinterpret_cast(1); } #else bool is_open() const { return pimpl_->handle_ != -1; } #endif Thanks!" Bugs closed Boost 1.39.0 iostreams Boost 1.38.0 Problem fixed file_descriptor is_open