Opened 15 years ago
Closed 15 years ago
#1185 closed Bugs (fixed)
iostreams::direct_streambuf<T,Tr>::is_open always returns false if output iterator is not null
Reported by: | Owned by: | Jonathan Turkanis | |
---|---|---|---|
Milestone: | To Be Determined | Component: | iostreams |
Version: | Boost 1.34.1 | Severity: | Problem |
Keywords: | Cc: |
Description
In iostreams/detail/streambuf/direct_streambuf.hpp, the code
bool direct_streambuf<T, Tr>::is_open() { return ibeg_ != 0 && !obeg_ != 0; }
has a misplaced !obeg_. It should read
{ return ibeg_ != 0 && obeg_ != 0; }
Change History (6)
comment:1 by , 15 years ago
Component: | None → iostreams |
---|---|
Owner: | set to |
comment:2 by , 15 years ago
Owner: | removed |
---|
comment:3 by , 15 years ago
Owner: | set to |
---|
comment:4 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 15 years ago
Status: | assigned → new |
---|
comment:6 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed some time back. Not sure of the revision.