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

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

	PR libstdc++/6414
	* include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
	value properly in the trivial case.
	* testsuite/27_io/ (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: <>

More information about the Libstdc++ mailing list