summaryrefslogtreecommitdiff
path: root/usr.bin/sort/msort.c
AgeCommit message (Expand)Author
2016-06-01Add the posix -C option (-c but quieter). Fix -R to work properly whenkre
2010-02-05Don't touch past the end of allocated region. It results segmentationenami
2009-11-06Retire __SCCSID. It has only archeological value now. Also retire lintjoerg
2009-10-09When we need to merge more than 16 files, do them in a hierarchy.dsl
2009-09-26Move all the fopen() calls out of the record read routines into the callers.dsl
2009-09-10Save length of key instead of relying of the weight of the record sep.dsl
2009-09-05Now we have our own radix_sort() change the interface so that we passdsl
2009-08-22Add some comments and clarifications to this inpeneterable code.dsl
2009-08-22Rework the way sort generates sort keys:dsl
2009-08-20Delete more unwanted/unused cruft.dsl
2009-08-16Replace all uses of sizeof(TRECHEADER) with REC_DATA_OFFSET - whichdsl
2009-08-15linebuf and linebuf_size are only used inside seq() - which also notdsl
2009-08-15Ansify.dsl
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2004-02-17initialize malloc()ated memoryjdolecek
2003-10-18KNF (mostly whitespace)itojun
2003-10-16safer use of reallocitojun
2003-08-07add TNF copyrightjdolecek
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-03-20get rid of one memmove() (not very significant)jdolecek
2002-12-25make function merge() static in msort.cjdolecek
2001-02-19Pull up various cosmetic (mostly whitespace) changes from OpenBSD.jdolecek
2001-01-19merge(): use array of buffers instead of one big buffer for all records, andjdolecek
2001-01-13when merging stuff from several files, make merge handle records correctlyjdolecek
2001-01-11general cleanup of file list passing:jdolecek
2000-10-17order(): since getline()/getnext() behaviour wrt passedjdolecek
2000-10-16constify, rename MAXLLEN to DEFLLENjdolecek
2000-10-15don't use register declarationsjdolecek
2000-10-07Two classes of changes from the initial OpenBSD commit of this sort(1):bjh21
2000-10-07Hit sort(1) with a hammer till it compiles.bjh21
2000-10-074.4BSD-Lite2 contrib/sortbjh21