2006-03-22 Paolo Carlini <pcarlini@suse.de>
commit7f4a0683cfb73ea077a7573e7480d334471a9833
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Mar 2006 15:13:46 +0000 (22 15:13 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Mar 2006 15:13:46 +0000 (22 15:13 +0000)
tree23c99d78978096a0b5127b46241f21d4d182b031
parent2789d110127d9130622a2e0fb3deb84649cac6b2
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112286 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/fstream.tcc
libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/26777.cc [new file with mode: 0644]