aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/ChangeLog
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2005-02-15 23:29:52 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2005-02-15 23:29:52 +0000
commit82ce2a94d9c0782c0e88fabe924e90a050f56ac8 (patch)
tree36ecbbfafa6758d85faee24364c6147bffcc899a /libstdc++-v3/ChangeLog
parentfd9850d552e8140111aed9c1aaa7c14d4fcb443b (diff)
downloadgcc-82ce2a94d9c0782c0e88fabe924e90a050f56ac8.zip
gcc-82ce2a94d9c0782c0e88fabe924e90a050f56ac8.tar.gz
gcc-82ce2a94d9c0782c0e88fabe924e90a050f56ac8.tar.bz2
re PR libstdc++/19955 (Second std::ctype<char>::narrow() does not call std::ctype<char>::do_narrow())
2005-02-15 Paolo Carlini <pcarlini@suse.de> Jon Grimm <jgrimm2@us.ibm.com> PR libstdc++/19955 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()): Fix the logic setting _M_narrow_ok: first check whether the transformation is trivial with a dflt == 0, then deal with the special case of zero. * testsuite/22_locale/ctype/narrow/char/19955.cc: New. * include/bits/locale_facets.h (ctype<char>::_M_widen_init()): Tweak consistently to use memcmp; minor formatting fixes. Co-Authored-By: Jon Grimm <jgrimm2@us.ibm.com> From-SVN: r95082
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r--libstdc++-v3/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index afdac30..0d5155b 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,16 @@
+2005-02-15 Paolo Carlini <pcarlini@suse.de>
+ Jon Grimm <jgrimm2@us.ibm.com>
+
+ PR libstdc++/19955
+ * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
+ Fix the logic setting _M_narrow_ok: first check whether the
+ transformation is trivial with a dflt == 0, then deal with the
+ special case of zero.
+ * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
+
+ * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
+ Tweak consistently to use memcmp; minor formatting fixes.
+
2005-02-15 Jakub Jelinek <jakub@redhat.com>
PR libstdc++/19946