This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/26777] sync_with_stdio(false) triggers bug with sgetc and pubseekoff



------- 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


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