75a25e3f65
2004-11-26 Paolo Carlini <pcarlini@suse.de> DR 243. get and getline when sentry reports failure [WP] * include/bits/istream.tcc (istream<>::get, istream<>::getline): Store a null character only if the array has a non-zero size. * src/istream.cc (istream<char>::getline, istream<wchar_t>::getline): Likewise. * testsuite/27_io/basic_istream/get/char/3.cc: New. * testsuite/27_io/basic_istream/getline/char/6.cc: New. * testsuite/27_io/basic_istream/getline/wchar_t/6.cc: New. * docs/html/ext/howto.html: Add an entry for DR 243. * testsuite/27_io/basic_istream/getline/wchar_t/1.cc: New. * testsuite/27_io/basic_istream/getline/wchar_t/2.cc: New. * testsuite/27_io/basic_istream/getline/wchar_t/3.cc: New. * testsuite/27_io/basic_istream/getline/wchar_t/4.cc: New. * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: New. From-SVN: r91348 |
||
---|---|---|
.. | ||
allocator-inst.cc | ||
bitmap_allocator.cc | ||
codecvt.cc | ||
complex_io.cc | ||
concept-inst.cc | ||
ctype.cc | ||
debug_list.cc | ||
debug.cc | ||
ext-inst.cc | ||
fstream-inst.cc | ||
functexcept.cc | ||
globals_io.cc | ||
globals_locale.cc | ||
io-inst.cc | ||
ios_failure.cc | ||
ios_init.cc | ||
ios_locale.cc | ||
ios.cc | ||
istream-inst.cc | ||
istream.cc | ||
limits.cc | ||
list.cc | ||
locale_facets.cc | ||
locale_init.cc | ||
locale-inst.cc | ||
locale-misc-inst.cc | ||
locale.cc | ||
localename.cc | ||
Makefile.am | ||
Makefile.in | ||
misc-inst.cc | ||
mt_allocator.cc | ||
ostream-inst.cc | ||
pool_allocator.cc | ||
sstream-inst.cc | ||
stdexcept.cc | ||
streambuf-inst.cc | ||
streambuf.cc | ||
string-inst.cc | ||
strstream.cc | ||
tree.cc | ||
valarray-inst.cc | ||
wlocale-inst.cc | ||
wstring-inst.cc |