libstdc++/9523: ios_base::sync_with_stdio clobbers standard streams

bkoz@gcc.gnu.org bkoz@gcc.gnu.org
Mon Apr 28 16:09:00 GMT 2003


Synopsis: ios_base::sync_with_stdio clobbers standard streams

Responsible-Changed-From-To: unassigned->bkoz
Responsible-Changed-By: bkoz
Responsible-Changed-When: Mon Apr 28 15:17:14 2003
Responsible-Changed-Why:
    Mine.
State-Changed-From-To: analyzed->feedback
State-Changed-By: bkoz
State-Changed-When: Mon Apr 28 15:17:14 2003
State-Changed-Why:
    Petur, I don't think this is a bug. Again, with the "any":
    
    If any input or output operation has occurred using the standard streams prior to the call, the effect is implementation-defined. 
    
    I don't believe your patch is needed for standards conformance, but let me look at it for other merits.
    
    best,
    benjamin

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9523



More information about the Gcc-bugs mailing list