[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 22 15:14:00 GMT 2006



------- Comment #5 from paolo at gcc dot gnu dot org  2006-03-22 15:13 -------
Subject: Bug 26777

Author: paolo
Date: Wed Mar 22 15:13:46 2006
New Revision: 112286

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112286
Log:
2006-03-22  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:
    trunk/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/26777.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/fstream.tcc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26777



More information about the Gcc-bugs mailing list