mirror of git://gcc.gnu.org/git/gcc.git
istream.tcc (ignore(streamsize), [...]): Reset _M_gcount to numeric_limits<streamsize>::min().
2005-01-03 Paolo Carlini <pcarlini@suse.de> * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, int_type)): Reset _M_gcount to numeric_limits<streamsize>::min(). * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type), basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise. * src/istream.cc (basic_istream<char>::ignore(streamsize), basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo. From-SVN: r92827
This commit is contained in:
parent
86c7e0da54
commit
ab4af6a549
|
@ -1,3 +1,12 @@
|
||||||
|
2005-01-03 Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
|
* include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
|
||||||
|
int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
|
||||||
|
* src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
|
||||||
|
basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
|
||||||
|
* src/istream.cc (basic_istream<char>::ignore(streamsize),
|
||||||
|
basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
|
||||||
|
|
||||||
2005-01-02 Paolo Carlini <pcarlini@suse.de>
|
2005-01-02 Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
* src/istream.cc (basic_istream<char>::ignore(streamsize),
|
* src/istream.cc (basic_istream<char>::ignore(streamsize),
|
||||||
|
|
|
@ -695,7 +695,7 @@ namespace std
|
||||||
}
|
}
|
||||||
if (__n == numeric_limits<streamsize>::max()
|
if (__n == numeric_limits<streamsize>::max()
|
||||||
&& !traits_type::eq_int_type(__c, __eof))
|
&& !traits_type::eq_int_type(__c, __eof))
|
||||||
_M_gcount = 0;
|
_M_gcount = numeric_limits<streamsize>::min();
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -742,7 +742,7 @@ namespace std
|
||||||
if (__n == numeric_limits<streamsize>::max()
|
if (__n == numeric_limits<streamsize>::max()
|
||||||
&& !traits_type::eq_int_type(__c, __eof)
|
&& !traits_type::eq_int_type(__c, __eof)
|
||||||
&& !traits_type::eq_int_type(__c, __delim))
|
&& !traits_type::eq_int_type(__c, __delim))
|
||||||
_M_gcount = 0;
|
_M_gcount = numeric_limits<streamsize>::min();
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -146,7 +146,7 @@ namespace std
|
||||||
}
|
}
|
||||||
if (__n == numeric_limits<streamsize>::max()
|
if (__n == numeric_limits<streamsize>::max()
|
||||||
&& !traits_type::eq_int_type(__c, __eof))
|
&& !traits_type::eq_int_type(__c, __eof))
|
||||||
_M_gcount == 0;
|
_M_gcount = numeric_limits<streamsize>::min();
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -211,7 +211,7 @@ namespace std
|
||||||
if (__n == numeric_limits<streamsize>::max()
|
if (__n == numeric_limits<streamsize>::max()
|
||||||
&& !traits_type::eq_int_type(__c, __eof)
|
&& !traits_type::eq_int_type(__c, __eof)
|
||||||
&& !traits_type::eq_int_type(__c, __delim))
|
&& !traits_type::eq_int_type(__c, __delim))
|
||||||
_M_gcount = 0;
|
_M_gcount = numeric_limits<streamsize>::min();
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -424,7 +424,7 @@ namespace std
|
||||||
}
|
}
|
||||||
if (__n == numeric_limits<streamsize>::max()
|
if (__n == numeric_limits<streamsize>::max()
|
||||||
&& !traits_type::eq_int_type(__c, __eof))
|
&& !traits_type::eq_int_type(__c, __eof))
|
||||||
_M_gcount == 0;
|
_M_gcount = numeric_limits<streamsize>::min();
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -489,7 +489,7 @@ namespace std
|
||||||
if (__n == numeric_limits<streamsize>::max()
|
if (__n == numeric_limits<streamsize>::max()
|
||||||
&& !traits_type::eq_int_type(__c, __eof)
|
&& !traits_type::eq_int_type(__c, __eof)
|
||||||
&& !traits_type::eq_int_type(__c, __delim))
|
&& !traits_type::eq_int_type(__c, __delim))
|
||||||
_M_gcount = 0;
|
_M_gcount = numeric_limits<streamsize>::min();
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue