summaryrefslogtreecommitdiffstats
path: root/usr.bin/sort/sort.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-3/+1
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* Add a -s option to make the radix sort be a stable sort. Based onmillert2007-08-211-2/+2
| | | | a diff from Eric Gouyer. Closes PR 5553. OK deraadt@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Bring in some recent fixup's from NetBSD. This allows lines longer than 65522ericj2001-02-041-3/+3
| | | | | to be properly sorted. Many other cleanup's done, and depreciate register. millert@ and deraadt@ ok.
* Dynamically allocate memory for structures whose sizes are based on themillert1999-05-241-4/+3
| | | | number of keys given. Closes PR #825.
* 64bit fixes. Some of these are a bit bogus as there were "long"smillert1997-06-301-2/+2
| | | | | meant to be file offsets for fseek(3). However, those values could never be > an int anyay so it is not a problem.
* Add #include for string.h to get declaration for memcpydgregor1997-06-241-1/+2
|
* sort(1) from 4.4BSD-lite2 with minor tweaks and bug fixes by me.millert1997-01-201-0/+145