b1c5b5a09b
2004-05-24 Paolo Carlini <pcarlini@suse.de> * include/bits/istream.tcc (ignore): Correctly deal with n == numeric_limits<streamsize>::max(). * testsuite/27_io/basic_istream/ignore/char/2.cc: New. * include/bits/istream.tcc (basic_istream<>::getline): Prefer '_M_gcount + 1 < __n' to '--__n; _M_gcount < __n', just in case __n == numeric_limits<>::min(). * include/bits/istream.tcc: Minor tweaks. * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc: Tighten. * testsuite/21_strings/basic_string/inserters_extractors/char/11.cc: Likewise. * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc: Likewise. * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc: Likewise. * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise. From-SVN: r82198 |
||
---|---|---|
.. | ||
17_intro | ||
18_support | ||
19_diagnostics | ||
20_util | ||
21_strings | ||
22_locale | ||
23_containers | ||
24_iterators | ||
25_algorithms | ||
26_numerics | ||
27_io | ||
backward | ||
config | ||
data | ||
demangle | ||
ext | ||
lib | ||
libstdc++-dg | ||
performance | ||
thread | ||
abi_check.cc | ||
Makefile.am | ||
Makefile.in | ||
printnow.c | ||
testsuite_abi.cc | ||
testsuite_abi.h | ||
testsuite_allocator.cc | ||
testsuite_allocator.h | ||
testsuite_character.h | ||
testsuite_hooks.cc | ||
testsuite_hooks.h | ||
testsuite_io.h | ||
testsuite_performance.h |