diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-15 23:29:52 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-15 23:29:52 +0000 |
commit | 0fcc981fa6eb41869dce802e289b012f4c3726be (patch) | |
tree | 36ecbbfafa6758d85faee24364c6147bffcc899a /gcc/version.c | |
parent | 3a662a81d9cc11e32f547ab9da65617c6aaac53c (diff) | |
download | gcc-0fcc981fa6eb41869dce802e289b012f4c3726be.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95082 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/version.c')
0 files changed, 0 insertions, 0 deletions