From: Phil Edwards Date: Wed, 23 Apr 2003 07:21:27 +0000 (+0000) Subject: Missed tellg() comment from previous checkin somehow. X-Git-Tag: releases/gcc-3.4.0~7075 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d8c3061141850f24406d79172265410ce93fe2e3;p=thirdparty%2Fgcc.git Missed tellg() comment from previous checkin somehow. From-SVN: r65984 --- diff --git a/libstdc++-v3/include/bits/istream.tcc b/libstdc++-v3/include/bits/istream.tcc index 17af6e028cd3..cc83f81a9237 100644 --- a/libstdc++-v3/include/bits/istream.tcc +++ b/libstdc++-v3/include/bits/istream.tcc @@ -942,6 +942,7 @@ namespace std basic_istream<_CharT, _Traits>:: tellg(void) { + // DR60. Do not change _M_gcount. pos_type __ret = pos_type(-1); if (!this->fail()) __ret = this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::in);