summaryrefslogtreecommitdiff
path: root/usr.bin/sort/append.c
AgeCommit message (Collapse)Author
2015-03-17Initial import of FreeBSD sort.Todd C. Miller
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2004-07-20ansi; khalek@linuxgamers.netTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2001-03-20Prevent "sort -f /dev/null" from segfaulting.Todd C. Miller
2001-02-04Bring in some recent fixup's from NetBSD. This allows lines longer than 65522Eric Jackson
to be properly sorted. Many other cleanup's done, and depreciate register. millert@ and deraadt@ ok.
1999-05-24Dynamically allocate memory for structures whose sizes are based on theTodd C. Miller
number of keys given. Closes PR #825.
1998-05-02fix yet another malloc problem.Michael Shalayeff
malloc(2) states quite clear that "malloc() allocates uninitialized space" just one malloc'ed memory is cleared by this fix. do a 'sort -u /dev/null' w/ /etc/malloc.conf -> J> to reproduce.
1997-06-3064bit fixes. Some of these are a bit bogus as there were "long"sTodd C. Miller
meant to be file offsets for fseek(3). However, those values could never be > an int anyay so it is not a problem.
1997-06-16Cosmetic cleanup, mostly KNF.Todd C. Miller
1997-01-20sort(1) from 4.4BSD-lite2 with minor tweaks and bug fixes by me.Todd C. Miller