This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


The following reply was made to PR libstdc++/5457; it has been noted by GNATS.

From: Edward Maros <emaros@ligo.caltech.edu>
To: paolo@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
        nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: libstdc++/5457: Writing to buffer stream writes each byte using a 
 system write() call.
Date: Tue, 22 Jan 2002 15:28:06 -0800

 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
 
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]