Up to [local] / src / usr.bin / sort
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.9 / (download) - annotate - [select for diffs], Wed May 15 09:33:34 2019 UTC (5 years ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
HEAD
Changes since 1.8: +80 -80 lines
Diff to previous 1.8 (colored)
re-indent bwscoll() after previous commit; no binary change
Revision 1.8 / (download) - annotate - [select for diffs], Wed May 15 09:07:46 2019 UTC (5 years ago) by schwarze
Branch: MAIN
Changes since 1.7: +4 -71 lines
Diff to previous 1.7 (colored)
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 1.7 / (download) - annotate - [select for diffs], Wed Apr 1 22:38:08 2015 UTC (9 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1,
OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9,
OPENBSD_5_8_BASE,
OPENBSD_5_8
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)
Use reallocarray instead of malloc.
Revision 1.6 / (download) - annotate - [select for diffs], Wed Apr 1 20:58:13 2015 UTC (9 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.5: +4 -17 lines
Diff to previous 1.5 (colored)
Style nits, remove whitespace at the start of a function.
Revision 1.5 / (download) - annotate - [select for diffs], Fri Mar 20 15:55:22 2015 UTC (9 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)
Fix a comment.
Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 19 15:20:46 2015 UTC (9 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)
Add back len = strlen(...) inadvertantly removed in the last commit. Noticed by Andre Smagin.
Revision 1.3 / (download) - annotate - [select for diffs], Wed Mar 18 22:53:27 2015 UTC (9 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.2: +8 -13 lines
Diff to previous 1.2 (colored)
Remove useless check for leading blanks in the month name. The code didn't adjust len after stripping blanks so even if a month *did* start with a blank we'd end up copying garbage at the end. Also convert a malloc + memcpy to strdup and fix a memory leak in the wide char version if mbstowcs() fails. From Andre Smagin
Revision 1.2 / (download) - annotate - [select for diffs], Wed Mar 18 22:39:41 2015 UTC (9 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.1: +1 -5 lines
Diff to previous 1.1 (colored)
nl_langinfo() cannot return NULL; from Andre Smagin
Revision 1.1 / (download) - annotate - [select for diffs], Tue Mar 17 17:45:13 2015 UTC (9 years, 2 months ago) by millert
Branch: MAIN
Initial import of FreeBSD sort.