bea53dbfbc
2005-01-02 Paolo Carlini <pcarlini@suse.de> * src/istream.cc (basic_istream<char>::ignore(streamsize), basic_istream<char>::ignore(streamsize, int_type), basic_istream<wchar_t>::ignore(streamsize), basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid _M_gcount overflows. * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, int_type)): Likewise; use snextc in the main loop, consistently with the specializations above. From-SVN: r92816
28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
2005-01-02 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
* src/istream.cc (basic_istream<char>::ignore(streamsize),
|
|
basic_istream<char>::ignore(streamsize, int_type),
|
|
basic_istream<wchar_t>::ignore(streamsize),
|
|
basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
|
|
_M_gcount overflows.
|
|
* include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
|
|
int_type)): Likewise; use snextc in the main loop, consistently
|
|
with the specializations above.
|
|
|
|
2005-01-02 Chris Jefferson <chris@bubblescope.net>
|
|
|
|
* include/bits/stl_algobase.h (mismatch): Correct concept check.
|
|
|
|
2005-01-01 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
* testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
|
|
testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
|
|
* testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
|
|
|
|
2005-01-01 Paolo Carlini <pcarlini@suse.de>
|
|
|
|
* testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
|
|
null-terminate array1 at the outset.
|
|
* testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc:
|
|
Likewise.
|