tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
usr.bin
/
sort
/
at
jcs
16 files
Makefile
Initial import of FreeBSD sort.
11 years ago
bwstring.c
remove unneeded semicolons; checked by millert@
2 years ago
bwstring.h
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.
6 years ago
coll.c
remove unneeded semicolons; checked by millert@
2 years ago
coll.h
Delete tentacles of LC_NUMERIC support. Our libc doesn't support that now and won't in the future. Minus ~90 lines of code, no functional change. OK tb@
7 years ago
file.c
remove unneeded semicolons; checked by millert@
2 years ago
file.h
murder excessive whitespace
11 years ago
mem.c
Don't need to include stdint.h
11 years ago
mem.h
Just use sort_reallocarray() everywhere.
11 years ago
radixsort.c
Fixed whitespace issues.
11 years ago
radixsort.h
Initial import of FreeBSD sort.
11 years ago
sort.1
Rewrite the description of how sorting works by default, in particular avoiding the nebulous word "lexicographically" and clarifiying that characters are ordered according to ascii(7). Polish a few nearby wordings for conciseness and readability. OK pascal@ jmc@
1 year ago
sort.c
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
6 years ago
sort.h
No need for sysexits.h here.
10 years ago
vsort.c
Style nits, remove whitespace at the start of a function.
11 years ago
vsort.h
Initial import of FreeBSD sort.
11 years ago