summaryrefslogtreecommitdiff
path: root/.x-sc_trailing_blank
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-05-08 23:15:36 +0200
committerJim Meyering <meyering@redhat.com>2008-05-08 23:21:04 +0200
commitf0ad302ca9b8ec6b22bb3015aebdd4a1fd449ccf (patch)
tree420b7cc26e98c5dce80c7e06113b09b0012c0bfd /.x-sc_trailing_blank
parent28c9d4ecff150942d46247076c8456dd79baf178 (diff)
downloadcoreutils-f0ad302ca9b8ec6b22bb3015aebdd4a1fd449ccf.tar.xz
Speed up "wc -m" and "wc -w" in multibyte case.
* src/wc.c: Include mbchar.h. (wc): New variable in_shift. Use it to avoid calling mbrtowc for most ASCII characters. Reported via Jan Engelhardt in http://bugzilla.novell.com/381873 with discussion here http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/13520
Diffstat (limited to '.x-sc_trailing_blank')
0 files changed, 0 insertions, 0 deletions