re PR libstdc++/17215 ([3.4 only] __basic_file<char>::close ignores errors)
authorPaolo Carlini <pcarlini@suse.de>
Mon, 30 Aug 2004 11:33:54 +0000 (11:33 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 30 Aug 2004 11:33:54 +0000 (11:33 +0000)
commitce894603bf0d99149a4f109380b0e6552a24081b
tree317f2029db735292793cd5a5590314aec48030dc
parent28839b70d0fa8703311d39ca2ce1f8a17b8d20d6
re PR libstdc++/17215 ([3.4 only] __basic_file<char>::close ignores errors)

2004-08-30  Paolo Carlini  <pcarlini@suse.de>
    Kenneth C. Schalk  <ken@xorian.net>

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.

Co-Authored-By: Kenneth C. Schalk <ken@xorian.net>
From-SVN: r86756
libstdc++-v3/ChangeLog
libstdc++-v3/config/io/basic_file_stdio.cc