CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/05/07 08:26:38
Modified files:
usr.bin/less : charset.c filename.c funcs.h
Log message:
Completely clean up UTF-8 handling in the file filename.c:
Employ the usual form of an mbtowc(3) loop, eliminating two calls
to the bad function step_char() and reducing the number of nested
loops by one. This also removes the last caller of the bad function
binary_char(), which is consequently deleted.
While here, count ASCII C0 non-whitespace control characters as
binary (except backspace and, with -R only, escape).
OK millert@