gcc/libstdc++-v3/include/bits
Paolo Carlini a2dcfada8a re PR libstdc++/13007 (basic_streambuf::pubimbue, imbue wrong)
2003-11-13  Paolo Carlini  <pcarlini@suse.de>
	    Petur Runolfsson  <peturr02@ru.is>

	PR libstdc++/13007
	* include/bits/fstream.tcc (imbue): Don't touch the stored
	locale.
	* include/std/std_streambuf.h (imbue): According to the
	standard, base class version does nothing.
	(pubimbue): Store the locale.
	* testsuite/27_io/basic_filebuf/imbue/char/13007.cc: New.
	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: New.
	* testsuite/27_io/basic_filebuf/imbue/char/2.cc: Tweak.
	* testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
	* testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: New.
	* testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: New.
	* testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: New.
	* testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: New.

Co-Authored-By: Petur Runolfsson <peturr02@ru.is>

From-SVN: r73563
2003-11-13 23:13:22 +00:00
..
allocator_traits.h allocator_traits.h: Fix doxygen markup. 2003-07-06 04:37:22 +00:00
allocator.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
basic_ios.h basic_ios.h: Remove *_iter typedefs, change num* typedefs to num_*. 2003-08-12 03:46:18 +00:00
basic_ios.tcc basic_ios.tcc (copyfmt(const basic_ios&)): Tweak my fix for libstdc++/12657. 2003-10-24 14:24:00 +00:00
basic_string.h [multiple changes] 2003-11-11 20:09:16 +00:00
basic_string.tcc [multiple changes] 2003-11-11 20:09:16 +00:00
boost_concept_check.h * include/bits/boost_concept_check.h: 2003-07-21 17:12:09 +00:00
c++config Daily bump. 2003-11-13 00:16:08 +00:00
char_traits.h [multiple changes] 2003-10-16 22:37:53 +00:00
codecvt.h locale_facets.h: Correct byname facets for "C" locale. 2003-10-22 18:58:35 +00:00
concept_check.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
cpp_type_traits.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
demangle.h re PR libstdc++/12947 (Demangler bug) 2003-11-12 02:18:37 +00:00
deque.tcc [multiple changes] 2003-11-11 20:09:16 +00:00
fstream.tcc re PR libstdc++/13007 (basic_streambuf::pubimbue, imbue wrong) 2003-11-13 23:13:22 +00:00
functexcept.h
gslice_array.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
gslice.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
indirect_array.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
ios_base.h codecvt_specializations.h: Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment. 2003-10-12 10:12:09 +00:00
istream.tcc locale_facets.h (time_get::_M_extract_name): Add ctype argument. 2003-11-04 02:14:05 +00:00
list.tcc [multiple changes] 2003-11-11 20:09:16 +00:00
locale_classes.h linker-map.gnu: Make more *_type_info bits visible. 2003-10-09 21:17:11 +00:00
locale_facets.h locale_facets.h (time_get::_M_extract_name): Add ctype argument. 2003-11-04 02:06:59 +00:00
locale_facets.tcc locale_facets.tcc (_M_insert_int, [...]): Move a couple of vars inside an if block. 2003-11-09 19:15:25 +00:00
localefwd.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
mask_array.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
ostream.tcc re PR libstdc++/12594 (DRs 60 [TC] and 63 [TC] not implemented) 2003-11-13 17:43:48 +00:00
postypes.h re PR libstdc++/8610 (large file support in libstdc++-v3 (std::streamoff type is 32-bit in GCC 3.2 whereas it was 64-bit in GCC 2.96)) 2003-10-22 15:51:55 +00:00
slice_array.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
sstream.tcc [multiple changes] 2003-10-16 22:37:53 +00:00
stl_algo.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_algobase.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_bvector.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_construct.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
stl_deque.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_function.h codecvt_specializations.h: Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment. 2003-10-12 10:12:09 +00:00
stl_heap.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_iterator_base_funcs.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
stl_iterator_base_types.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
stl_iterator.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
stl_list.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_map.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_multimap.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_multiset.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_numeric.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_pair.h codecvt_specializations.h: Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment. 2003-10-12 10:12:09 +00:00
stl_queue.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_raw_storage_iter.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
stl_relops.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
stl_set.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_stack.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_tempbuf.h stl_tempbuf.h: Qualify free with std::. 2003-07-14 20:14:49 +00:00
stl_threads.h mt_allocator.h: Change include to gthr.h. 2003-10-21 18:01:37 +00:00
stl_tree.h re PR libstdc++/11504 (-Wcast-qual vs. stl_tree) 2003-07-30 15:01:58 +00:00
stl_uninitialized.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
stl_vector.h [multiple changes] 2003-11-11 20:09:16 +00:00
stream_iterator.h [multiple changes] 2003-11-11 20:09:16 +00:00
streambuf_iterator.h [multiple changes] 2003-11-11 20:09:16 +00:00
streambuf.tcc Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
stringfwd.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
type_traits.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
valarray_after.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
valarray_array.h c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove. 2003-07-30 16:51:51 +00:00
valarray_array.tcc c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove. 2003-07-30 16:51:51 +00:00
valarray_before.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
vector.tcc [multiple changes] 2003-11-11 20:09:16 +00:00