summaryrefslogtreecommitdiff
path: root/usr.bin/sort/fsort.c
AgeCommit message (Collapse)Author
2004-09-14match foo[] between files, instead of foo[] in one, and *foo in anotherTheo de Raadt
2004-07-20ansi; khalek@linuxgamers.netTheo de Raadt
2004-03-15only copy extra incomplete crec data if there is any, fixes occasionalNikolay Sturm
failures of locate.updatedb adapted from NetBSD, ok tedu@, millert@
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
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-22Fix off-by-one differently--add an extra byte to buffer (ick).Todd C. Miller
Don't dump core on empty file.
1997-01-22Off by one error. Fixes a core dump.Todd C. Miller
1997-01-20sort(1) from 4.4BSD-lite2 with minor tweaks and bug fixes by me.Todd C. Miller