gcc/libstdc++-v3/testsuite/27_io/basic_stringbuf
Paolo Carlini bcf0248a99 re PR libstdc++/29354 (Error when seeking on an ostringstream)
2006-10-06  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/29354
	* include/bits/sstream.tcc (basic_stringbuf<>::seekpos(pos_type,
	ios_base::openmode)): Allow for seek to pos_type(off_type(0))
	when the stream is empty.
	* testsuite/27_io/basic_stringbuf/seekpos/char/29354.cc: New.
	* testsuite/27_io/basic_stringbuf/seekpos/wchar_t/29354.cc: New.

From-SVN: r117494
2006-10-06 09:57:43 +00:00
..
cons All files: Update FSF address. 2005-08-17 02:28:44 +00:00
imbue All files: Update FSF address. 2005-08-17 02:28:44 +00:00
in_avail 21955.cc: Avoid warning on string constant. 2006-02-04 10:00:58 +00:00
overflow re PR libstdc++/26250 (stringbuf::overflow() fails to set egptr() same as epptr()) 2006-02-17 10:46:57 +00:00
pbackfail All files: Update FSF address. 2005-08-17 02:28:44 +00:00
sbumpc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
seekoff All files: Update FSF address. 2005-08-17 02:28:44 +00:00
seekpos re PR libstdc++/29354 (Error when seeking on an ostringstream) 2006-10-06 09:57:43 +00:00
setbuf All files: Update FSF address. 2005-08-17 02:28:44 +00:00
sgetc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
sgetn All files: Update FSF address. 2005-08-17 02:28:44 +00:00
snextc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
sputbackc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
sputc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
sputn All files: Update FSF address. 2005-08-17 02:28:44 +00:00
str All files: Update FSF address. 2005-08-17 02:28:44 +00:00
sungetc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
sync All files: Update FSF address. 2005-08-17 02:28:44 +00:00
1.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
2.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
3.cc re PR libstdc++/24198 (Remove from the testsuite gnu_char_type (or fix it)) 2005-10-05 19:11:18 +00:00
4.cc testsuite_allocator.h (allocation_tracker): To tracker_allocator_counter. 2006-10-03 17:01:57 +00:00
5.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00