id summary reporter owner description type status milestone component version severity resolution keywords cc 3517 [iostreams] stream closes supplied descriptor Alexander Churanov Daniel James "The instance of stream closes supplied file descriptor on destruction even if the second specified argument is 'false'. Expected behavior: descriptor remains opened after stream destruction The repro application source is at http://alexanderchuranov.com/boost-iostreams-autoclose-bug.cc . Workaround: call ""set_auto_close(false)"" right after stream construction. It is believed that the root cause of the issue is indirect_stream having default constructor always initializing it's ""flags_"" member to f_auto_close. " Bugs closed Boost 1.44.0 iostreams Boost 1.39.0 Problem fixed