summaryrefslogtreecommitdiff
path: root/usr.bin/sort/fields.c
AgeCommit message (Expand)Author
2009-11-06Retire __SCCSID. It has only archeological value now. Also retire lintjoerg
2009-10-07When encoding numbers, we can use all 8 bits for exponent values.dsl
2009-09-16Minor tweaks to the key generation for numeric fields.dsl
2009-09-10Save length of key instead of relying of the weight of the record sep.dsl
2009-08-22Fix generation of unmasked alpha keys.dsl
2009-08-22Only process each number digit once.dsl
2009-08-22Rework the way sort generates sort keys:dsl
2009-08-20Delete more unwanted/unused cruft.dsl
2009-08-15Always add an REC_D char (usually \n) as the last sort key char - wedsl
2009-08-15Remove reference to db.h by using separate ptr+len fields for the onlydsl
2009-08-15Ansify.dsl
2009-04-13Fix WARNS=4 issues (-Wcast-qual -Wsign-compare)lukem
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2004-03-14Do not step over the edge of the buffer (check for '\0'). This just happensheas
2004-02-15make sure zero is recognized as regular number in number(), and thus sortedjdolecek
2004-02-15fix -Wunitialized warningsjdolecek
2003-10-18KNF (mostly whitespace)itojun
2003-08-07add TNF copyrightjdolecek
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-04-09rename local macro blancmange() to SKIP_BLANKS(), to clarify whatjdolecek
2002-12-24add extern definition for ncols and clist[] to sort.h, eliminate extrajdolecek
2001-02-19Pull up various cosmetic (mostly whitespace) changes from OpenBSD.jdolecek
2001-02-19enterfield(): test the buffer size BEFORE assignment also for the other codejdolecek
2001-02-19enterkey():jdolecek
2001-01-13also remove the clpos++ added in rev 1.4jdolecek
2001-01-13undo broken revision 1.4jdolecek
2001-01-12for stable sort, arrange so that really only relevant part of linejdolecek
2000-10-17cosmetic change in way one of for variables is updatedjdolecek
2000-10-15don't use register declarationsjdolecek
2000-10-07Hit sort(1) with a hammer till it compiles.bjh21
2000-10-074.4BSD-Lite2 contrib/sortbjh21