libstdc++/5457: Writing to buffer stream writes each byte using a system write() call.

Edward Maros emaros@ligo.caltech.edu
Tue Jan 22 15:36:00 GMT 2002


paolo@gcc.gnu.org wrote:

> Synopsis: Writing to buffer stream writes each byte using a system write() call.
>
> Responsible-Changed-From-To: unassigned->paolo
> Responsible-Changed-By: paolo
> Responsible-Changed-When: Tue Jan 22 14:01:13 2002
> Responsible-Changed-Why:
>     Analyzed
> State-Changed-From-To: open->feedback
> State-Changed-By: paolo
> State-Changed-When: Tue Jan 22 14:01:13 2002
> State-Changed-Why:
>     Could you please check if your applications benefit from
>     calling:
>
>       std::ios::sync_with_stdio(false);
>
>     before any I/O operation??
>
>     Thanks,
>     Paolo.
>
>     P.S. For some details on this, see, f.i., Josuttis, pp. 682.
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5457

This does address my issue. Thank you for your help.

Ed

--
------
Edward Maros                            emaros@ligo.caltech.edu





More information about the Gcc-bugs mailing list