libstdc++/6414: g++ 3.1 tellg() regression within last week

Jason Merrill jason@redhat.com
Tue Apr 23 06:00:00 GMT 2002


Missed a spot.  Testing now; I'll apply it to trunk and branch if it passes.

2002-04-23  Jason Merrill  <jason@redhat.com>

	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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 1725 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20020423/76c53f3c/attachment.bin>


More information about the Libstdc++ mailing list