OSDN Git Service

2004-02-09 Paolo Carlini <pcarlini@suse.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Feb 2004 09:02:52 +0000 (09:02 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 Feb 2004 09:02:52 +0000 (09:02 +0000)
commitb2b816c3f6ee42cbd8c7b042c8c6a8056f740b8c
treed18b83860ee1d2f3ac2d668a4a349f27432b68da
parent26e25e9ce5c0a9bf3bb907d2fec425880f8626ab
2004-02-09  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/14072
* include/bits/basic_ios.tcc (basic_ios<>::_M_cache_locale):
Don't leave dangling pointers.
* testsuite/27_io/basic_ios/imbue/14072.cc: New.
* testsuite/22_locale/numpunct/members/pod/2.cc: Tweak, the num_put
facet is needed in the final test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77526 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/basic_ios.tcc
libstdc++-v3/testsuite/22_locale/numpunct/members/pod/2.cc
libstdc++-v3/testsuite/27_io/basic_ios/imbue/14072.cc [new file with mode: 0644]