Issue Details (XML | Word | Printable)

Key: STDCXX-626
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Martin Sebor
Reporter: Farid Zaripov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

[LWG #581] std::ostream::flush() unexpectedly calls to rdbuf()->sync() when rdstate() != goodbit

Created: 01/Nov/07 04:24 PM   Updated: 31/Mar/08 07:19 PM
Return to search
Component/s: 27. Input/Output
Affects Version/s: 4.1.2, 4.1.3, 4.1.4, 4.2.0
Fix Version/s: 4.2.1

Time Tracking:
Not Specified

Environment: All
Issue Links:
Dependants
 
dependent
 

Severity: Incorrect Behavior
Resolution Date: 16/Jan/08 08:47 PM



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Farid Zaripov made changes - 01/Nov/07 04:37 PM
Field Original Value New Value
Link This issue blocks STDCXX-627 [ STDCXX-627 ]
Martin Sebor added a comment - 11/Jan/08 01:46 AM
Abbreviated Summary.

Martin Sebor made changes - 11/Jan/08 01:46 AM
Summary [LWG #581] std::basic_ostream<char>::flush() unexpectedly calls to rdbuf()->sync() when rdstate() != goodbit [LWG #581] std::ostream::flush() unexpectedly calls to rdbuf()->sync() when rdstate() != goodbit
Repository Revision Date User Message
ASF #611016 Fri Jan 11 01:59:24 UTC 2008 sebor 2008-01-10 Martin Sebor <sebor@roguewave.com>

* 27.ostream.unformatted.STDCXX-626.cpp: Added regression test
for STDCXX-626.
Files Changed
ADD /incubator/stdcxx/trunk/tests/regress/27.ostream.unformatted.stdcxx-626.cpp

Repository Revision Date User Message
ASF #611019 Fri Jan 11 02:03:25 UTC 2008 sebor 2008-01-10 Martin Sebor <sebor@roguewave.com>

STDCXX-626
* ostream.cc (flush): Implemeneted proposed resolution of LWG
issue 581 and reverted the resolution of issue 60 wrt ostream
::flush().
Files Changed
MODIFY /incubator/stdcxx/trunk/include/ostream.cc

Repository Revision Date User Message
ASF #612563 Wed Jan 16 20:31:30 UTC 2008 sebor 2008-01-16 Martin Sebor <sebor@roguewave.com>

Merged rev 611016 and 611019 from trunk.

  2008-01-10 Martin Sebor <sebor@roguewave.com>

* 27.ostream.unformatted.STDCXX-626.cpp: Added regression test
for STDCXX-626.

2008-01-10 Martin Sebor <sebor@roguewave.com>

STDCXX-626
* ostream.cc (flush): Implemeneted proposed resolution of LWG
issue 581 and reverted the resolution of issue 60 wrt ostream
::flush().
Files Changed
MODIFY /stdcxx/branches/4.2.x/include/ostream.cc
ADD /stdcxx/branches/4.2.x/tests/regress/27.ostream.unformatted.stdcxx-626.cpp (from /incubator/stdcxx/trunk/tests/regress/27.ostream.unformatted.stdcxx-626.cpp)

Martin Sebor made changes - 16/Jan/08 08:46 PM
Assignee Martin Sebor [ sebor ]
Martin Sebor added a comment - 16/Jan/08 08:47 PM
Regression test added: http://svn.apache.org/viewcvs?view=rev&rev=611016
Fix committed: http://svn.apache.org/viewcvs?view=rev&rev=611019
Fix verified in nightly results.
Merged to 4.2.1: http://svn.apache.org/viewcvs?view=rev&rev=612563
Closing.

Martin Sebor made changes - 16/Jan/08 08:47 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]
Martin Sebor made changes - 31/Mar/08 07:19 PM
Link This issue is depended upon by STDCXX-804 [ STDCXX-804 ]
Martin Sebor added a comment - 31/Mar/08 07:19 PM
See STDCXX-804 for a problem the implementation of the resolution of the LWG issue causes.