------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-08 00:41 ------- Subject: Bug 17215
CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_4-branch Changes by: [EMAIL PROTECTED] 2004-11-08 00:41:15 Modified files: libstdc++-v3 : ChangeLog libstdc++-v3/config/io: basic_file_stdio.cc libstdc++-v3/include/bits: fstream.tcc Log message: 2004-11-07 Paolo Carlini <[EMAIL PROTECTED]> Andrea Arcangeli <[EMAIL PROTECTED]> * config/io/basic_file_stdio.cc (__basic_file<>::close)): Don't call unnecessarily sync, that is fflush: the library, since 3.4.0 does not use buffered fread/fwrite. * include/bits/fstream.tcc (basic_filebuf<>::overflow): Likewise. 2004-11-07 Paolo Carlini <[EMAIL PROTECTED]> Kenneth C. Schalk <[EMAIL PROTECTED]> PR libstdc++/17215 * config/io/basic_file_stdio.cc (__basic_file<char>::close()): Check the return value of fclose/sync, loop on EINTR. (__basic_file<char>::sys_open): Likewise, for sync. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2224.2.194&r2=1.2224.2.195 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/config/io/basic_file_stdio.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.25.4.6&r2=1.25.4.7 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/fstream.tcc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.116.4.7&r2=1.116.4.8 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17215