History log of /openbsd-current/usr.bin/sort/bwstring.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.3 15-May-2019 schwarze

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@


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.2 31-Dec-2015 millert

No need for sysexits.h here.


Revision tags: OPENBSD_5_8_BASE
# 1.1 17-Mar-2015 millert

Initial import of FreeBSD sort.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.2 31-Dec-2015 millert

No need for sysexits.h here.


Revision tags: OPENBSD_5_8_BASE
# 1.1 17-Mar-2015 millert

Initial import of FreeBSD sort.