gcc/libstdc++-v3/include/bits
Paolo Carlini 1e64c2fc32 re PR libstdc++/11095 (C++ iostream manipulator causes segfault when called iwth negative argument)
2003-06-05  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/11095
	* include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
	Deal with width() smaller than zero.
	* include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
	operator<<(basic_ostream&, char), operator<<(basic_ostream&,
	const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
	const char*), operator<<(basic_ostream<char, _Traits>&,
	const char*), operator<<(basic_ostream, const basic_string&)): Likewise.
	* testsuite/27_io/basic_istream/extractors_character/char/11095-i.cc:
	* testsuite/27_io/basic_ostream/inserters_character/char/11095-oa.cc:
	* testsuite/27_io/basic_ostream/inserters_character/char/11095-ob.cc:
	* testsuite/27_io/basic_ostream/inserters_character/char/11095-oc.cc:
	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-od.cc:
	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-oe.cc:
	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-of.cc:
	New.

From-SVN: r67518
2003-06-05 23:25:05 +00:00
..
basic_ios.h std_fstream.h (basic_filebuf::_M_codecvt): Add cached member. 2003-05-13 20:13:15 +00:00
basic_ios.tcc std_fstream.h (basic_filebuf::_M_codecvt): Add cached member. 2003-05-13 20:13:15 +00:00
basic_string.h basic_string.h (_M_fold, [...]): Constify various variables. 2003-06-04 22:53:05 +00:00
basic_string.tcc basic_string.h (_M_fold, [...]): Constify various variables. 2003-06-04 22:53:05 +00:00
boost_concept_check.h
c++config Daily bump. 2003-06-05 00:16:07 +00:00
char_traits.h
codecvt.h [multiple changes] 2003-02-06 06:24:21 +00:00
concept_check.h std_bitset.h (_M_do_find_next): Fix -Wall nit. 2003-04-15 06:11:10 +00:00
cpp_type_traits.h re PR libstdc++/3181 (Unable to use sqrt,cos,sin,... with int argument.) 2003-05-11 09:07:17 +00:00
demangle.h demangle.h: Prepend accessors of class qualifier with 'get_' in order to fix warnings when... 2003-03-11 13:48:16 +00:00
deque.tcc cp-tree.h (lang_type_class): Remove is_partial_instantiation. 2003-01-16 20:30:50 +00:00
fpos.h TODO: Note change in clause 27 docs. 2002-11-21 07:06:41 +00:00
fstream.tcc fstream.tcc (pbackfail): Make a rarely taken 'if' branch less obscure. 2003-06-03 18:06:09 +00:00
functexcept.h
gslice_array.h
gslice.h
indirect_array.h
ios_base.h [multiple changes] 2003-05-11 04:20:57 +00:00
istream.tcc re PR libstdc++/11095 (C++ iostream manipulator causes segfault when called iwth negative argument) 2003-06-05 23:25:05 +00:00
list.tcc cp-tree.h (lang_type_class): Remove is_partial_instantiation. 2003-01-16 20:30:50 +00:00
locale_classes.h std_fstream.h (basic_filebuf::_M_codecvt): Add cached member. 2003-05-13 20:13:15 +00:00
locale_facets.h stl_algo.h: Enums as _S_. 2003-05-07 05:01:59 +00:00
locale_facets.tcc locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and make sure the number of digits required after the... 2003-05-27 17:14:49 -04:00
localefwd.h std_fstream.h (basic_filebuf::_M_codecvt): Add cached member. 2003-05-13 20:13:15 +00:00
mask_array.h
ostream.tcc re PR libstdc++/11095 (C++ iostream manipulator causes segfault when called iwth negative argument) 2003-06-05 23:25:05 +00:00
pthread_allocimpl.h
slice_array.h * include/bits/slice_array.h (slice_array<>::operator=): Fix typo. 2002-12-10 07:32:04 +00:00
sstream.tcc sstream.tcc (pbackfail): Minor clean up and reformatting, consistent with basic_filebuf::pbackfail. 2003-06-02 18:24:30 +00:00
stl_algo.h stl_algo.h: Enums as _S_. 2003-05-07 05:01:59 +00:00
stl_algobase.h Merge basic-improvements-branch to trunk 2002-12-16 18:23:00 +00:00
stl_alloc.h stl_alloc.h (__default_alloc_template::_S_chunk_alloc): Cast via void* to avoid -Wcast-align warnings. 2003-05-20 22:29:54 +00:00
stl_bvector.h stl_algo.h: Enums as _S_. 2003-05-07 05:01:59 +00:00
stl_construct.h
stl_deque.h localename.cc: Standardize exception strings. 2003-04-28 23:05:57 +00:00
stl_function.h
stl_heap.h
stl_iterator_base_funcs.h
stl_iterator_base_types.h TODO: Note change in clause 27 docs. 2002-11-21 07:06:41 +00:00
stl_iterator.h [multiple changes] 2003-05-29 12:21:26 +00:00
stl_list.h cp-tree.h (lang_type_class): Remove is_partial_instantiation. 2003-01-16 20:30:50 +00:00
stl_map.h re PR libstdc++/9811 (incorrect documentation for std::map::lower_bound, etc.) 2003-02-25 06:27:10 +00:00
stl_multimap.h re PR libstdc++/9811 (incorrect documentation for std::map::lower_bound, etc.) 2003-02-25 06:27:10 +00:00
stl_multiset.h * config/locale/gnu/ctype_members.cc 2002-12-27 23:03:03 +00:00
stl_numeric.h
stl_pair.h
stl_pthread_alloc.h
stl_queue.h stl_deque.h: Fix typo. 2002-12-23 17:36:24 +00:00
stl_raw_storage_iter.h
stl_relops.h
stl_set.h * config/locale/gnu/ctype_members.cc 2002-12-27 23:03:03 +00:00
stl_stack.h stl_deque.h: Fix typo. 2002-12-23 17:36:24 +00:00
stl_tempbuf.h Merge basic-improvements-branch to trunk 2002-12-16 18:23:00 +00:00
stl_threads.h stl_threads.h (_Atomic_swap): Kill it... 2003-05-05 22:28:16 +00:00
stl_tree.h stl_algo.h: Enums as _S_. 2003-05-07 05:01:59 +00:00
stl_uninitialized.h
stl_vector.h localename.cc: Standardize exception strings. 2003-04-28 23:05:57 +00:00
stream_iterator.h
streambuf_iterator.h streambuf_iterator.h (_M_put): Set _M_failed if sputn fails. 2003-03-07 14:14:11 +00:00
streambuf.tcc re PR libstdc++/9339 (filebuf::pubsetbuf(0, 0) doesn't turn off buffering) 2003-05-26 14:54:42 +00:00
stringfwd.h re PR libstdc++/8318 (Not all wide character based prototypes are included within #ifdef _GLIBCPP_USE_WCHAR_T) 2002-11-01 17:30:36 +00:00
type_traits.h
valarray_after.h valarray_meta.h: Remove, split into ... 2003-01-24 16:32:11 +00:00
valarray_array.h
valarray_array.tcc
valarray_before.h re PR libstdc++/9234 (unary minus for valarrays broken) 2003-02-03 10:38:36 +00:00
vector.tcc cp-tree.h (lang_type_class): Remove is_partial_instantiation. 2003-01-16 20:30:50 +00:00