CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/05/15 03:07:47
Modified files:
usr.bin/sort : bwstring.c bwstring.h file.c sort.1 sort.c
Log message:
Cleanup:
Delete handling of LC_COLLATE (which has no effect)
and delete support for non-ASCII single-byte encodings,
allowing to replace the condition byte_sort == 1
with sort_mb_cur_max == 1.
Since none of our single-byte character and string functions are
locale dependent, also zap inspection of LC_CTYPE while here.
For know, keep the code supporting multi-byte encodings
even though it is very ugly, it cannot be reached right now,
and we have no plans to enable it any time soon.
OK millert@ tb@