diff options
author | Paolo Carlini <pcarlini@suse.de> | 2003-11-24 21:13:38 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2003-11-24 21:13:38 +0000 |
commit | 3c8797ae81937ef87756d24c2420e1f474ac0cd8 (patch) | |
tree | 791bfd27224a08bac1cf8abd7aa941c454e59645 /gcc/f/expr.c | |
parent | e0ec69c929263d757b83289e79a4236d4951351a (diff) | |
download | gcc-3c8797ae81937ef87756d24c2420e1f474ac0cd8.zip gcc-3c8797ae81937ef87756d24c2420e1f474ac0cd8.tar.gz gcc-3c8797ae81937ef87756d24c2420e1f474ac0cd8.tar.bz2 |
codecvt_members.cc (codecvt::do_in): Rewrite, using both mbsnrtowcs and mbrtowc in a loop...
2003-11-24 Paolo Carlini <pcarlini@suse.de>
* config/locale/gnu/codecvt_members.cc (codecvt::do_in):
Rewrite, using both mbsnrtowcs and mbrtowc in a loop: the
former is very fast, but stops if encounters a NUL.
(codecvt::do_out): Tweak.
* testsuite/performance/wchar_t_in.cc: New.
2003-11-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.h
(__numpunct_cache<>::_M_cache): Set _M_allocated at the beginning
in order to avoid memory leaks; simplify a bit.
From-SVN: r73893
Diffstat (limited to 'gcc/f/expr.c')
0 files changed, 0 insertions, 0 deletions