[Bug libstdc++/26777] sync_with_stdio(false) triggers bug with sgetc and pubseekoff
paolo at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 29 00:12:00 GMT 2006
------- Comment #8 from paolo at gcc dot gnu dot org 2006-03-29 00:12 -------
Subject: Bug 26777
Author: paolo
Date: Wed Mar 29 00:12:21 2006
New Revision: 112477
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112477
Log:
2006-03-28 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/26777
* include/bits/fstream.tcc (basic_filebuf<>::_M_seek): Check
the return value of _M_file.seekoff.
* testsuite/27_io/basic_filebuf/seekoff/char/26777.cc: New.
Added:
branches/gcc-4_1-branch/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/26777.cc
Modified:
branches/gcc-4_1-branch/libstdc++-v3/ChangeLog
branches/gcc-4_1-branch/libstdc++-v3/include/bits/fstream.tcc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26777
More information about the Gcc-bugs
mailing list