gcc/libstdc++-v3/src
Paolo Carlini 75a25e3f65 DR 243.
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
2004-11-26 20:34:27 +00:00
..
allocator-inst.cc
bitmap_allocator.cc
codecvt.cc
complex_io.cc
concept-inst.cc
ctype.cc
debug_list.cc
debug.cc re PR libstdc++/17664 ([3.4 only] Crash in std::map when using _GLIBCXX_DEBUG with multithreading) 2004-11-08 20:47:25 +00:00
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 DR 243. 2004-11-26 20:34:27 +00:00
limits.cc
list.cc
locale_facets.cc
locale_init.cc
locale-inst.cc
locale-misc-inst.cc
locale.cc
localename.cc
Makefile.am streambuf.tcc (__copy_streambufs): Provide a generic version of the function... 2004-11-15 23:33:05 +00:00
Makefile.in Makefile.in, aclocal.m4: Regenerate with automake 1.9.3. 2004-11-24 21:12:26 +00:00
misc-inst.cc
mt_allocator.cc
ostream-inst.cc
pool_allocator.cc
sstream-inst.cc
stdexcept.cc
streambuf-inst.cc
streambuf.cc streambuf.tcc (__copy_streambufs): Provide a generic version of the function... 2004-11-15 23:33:05 +00:00
string-inst.cc
strstream.cc
tree.cc
valarray-inst.cc
wlocale-inst.cc
wstring-inst.cc