summaryrefslogtreecommitdiff
path: root/usr.bin/sort
AgeCommit message (Expand)Author
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-09If anyone is stupid enough to feed records longer than 8MB into sort, don'tdsl
2009-10-09When we need to merge more than 16 files, do them in a hierarchy.dsl
2009-10-09Don't give merge an empty file when we detect EOF with nothing in ourdsl
2009-10-07long align records written to temporary files.dsl
2009-10-07When encoding numbers, we can use all 8 bits for exponent values.dsl
2009-09-28Fix borked fix for sort relying on realloc() changing the buffer end.dsl
2009-09-26Move all the fopen() calls out of the record read routines into the callers.dsl
2009-09-19Fix sort -u, PR/42094dsl
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-09-05Now we have our own radix_sort() change the interface so that we passdsl
2009-09-05Include a local copy of the sradixsort() code from libc.dsl
2009-08-23Fix pasto.wiz
2009-08-22Bring nearer to reality.dsl
2009-08-22<space> and <tab> at the start of key fields are supposed to be sorteddsl
2009-08-22Put radixsort() and sradixsort() the correct way around.dsl
2009-08-22Fix generation of unmasked alpha keys.dsl
2009-08-22Only process each number digit once.dsl
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-18The code that attempted to sort large files by sorting each chunk by thedsl
2009-08-16'depth' is used for the number of bytes into the key that the pointersdsl
2009-08-16Replace all uses of sizeof(TRECHEADER) with REC_DATA_OFFSET - whichdsl
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-15linebuf and linebuf_size are only used inside seq() - which also notdsl
2009-08-15Remove the unused 'DBT *key' parameter from seq().dsl
2009-08-15In makeline() change 'pos' from 'char *' to 'u_char *' and remove alldsl
2009-08-15Ansify.dsl
2009-04-14Enable WARNS=4 by default for usr.bin, except for:lukem
2009-04-13Fix WARNS=4 issues (-Wcast-qual -Wsign-compare)lukem
2009-03-11Don't workaround ancient macro argument limit with .Xo/.Xc.joerg
2008-11-08Make -R accept numeric arguments so one can say -R '\0' to be used inchristos
2008-07-21Remove the \n and tabs from the __COPYRIGHT() strings.lukem
2008-05-02Move TNF licenses to 2 clause formmartin
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2007-02-21<ctype.h> is unused. What's still needed is <sys/cdefs.h> (which ishubertf
2006-10-23fix check for field order to allow .0 form in "-k 1.2,1.0"jdolecek
2006-10-23when using -o into file which already exists, copy the permissionsjdolecek
2006-10-23replace access(2) + /dev/ prefix check with lstat(2) and S_ISCHR()/S_ISBLK()jdolecek
2006-10-23use F_OK instead of 0 for second parameter of access(2)jdolecek
2006-05-11char -> u_char in a couple of places to match other variables.mrg
2005-06-10Init some variables the compiler is complaining about and mark w. XXGCC as itjmc
2005-06-07Initialize a local variable to appease -Wuninitialized.he
2004-11-03Add (unsigned char) cast to ctype functionsdsl
2004-07-23Sync usage with man page. From Kouichirou Hiratsuka in PR 26278.wiz
2004-07-23Sort options in SYNOPSIS. From Kouichirou Hiratsuka in PR 26278.wiz