re PR libstdc++/6414 (g++ 3.1 tellg() regression within last week)
authorJason Merrill <jason@redhat.com>
Tue, 23 Apr 2002 21:01:22 +0000 (17:01 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 23 Apr 2002 21:01:22 +0000 (17:01 -0400)
commit74c263af801e048d886c552993038419372f8387
treef8318c0af6054b83d63b498c0ea7f7db83a3220e
parent29cece2e5d5d62e657442a92094324cfba6466eb
re PR libstdc++/6414 (g++ 3.1 tellg() regression within last week)

        PR libstdc++/6414
        * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
        value properly in the trivial case.
        * testsuite/27_io/istream_seeks.cc (test04): Make sure that
        tellg() returns the right value after a read.

From-SVN: r52679
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/fstream.tcc
libstdc++-v3/testsuite/27_io/istream_seeks.cc