summaryrefslogtreecommitdiff
path: root/usr.bin/sort/files.c
AgeCommit message (Expand)Author
2015-08-05add a description about what was being attempted to failed writes messages.mrg
2009-11-06Retire __SCCSID. It has only archeological value now. Also retire lintjoerg
2009-10-07long align records written to temporary files.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-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-22Rework the way sort generates sort keys:dsl
2009-08-18The code that attempted to sort large files by sorting each chunk by thedsl
2009-08-16Replace all uses of sizeof(TRECHEADER) with REC_DATA_OFFSET - whichdsl
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-13Fix WARNS=4 issues (-Wcast-qual -Wsign-compare)lukem
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2006-05-11char -> u_char in a couple of places to match other variables.mrg
2005-06-07Initialize a local variable to appease -Wuninitialized.he
2004-02-15fix some cases of use of unitialized variablesjdolecek
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
2002-12-24max_o in struct tempfile needs to be off_tjdolecek
2001-05-15Make compilable with -Wshadowjdolecek
2001-02-19Pull up various cosmetic (mostly whitespace) changes from OpenBSD.jdolecek
2001-02-19resurrect old ftmp() - it supports alternative directory for temporaryjdolecek
2001-01-18makeline(): make the overflow handling code safe vs. buffer realloc, addjdolecek
2001-01-13makeline(): put back the memmove(3) removed in rev 1.5 in belief it's beenjdolecek
2001-01-13fix few confusing indentation. XXX still brokenitojun
2001-01-13one more warning to killjdolecek
2001-01-13Since SUS explicitly specifies sort(1) should append a recordjdolecek
2001-01-12remove #if 0 partjdolecek
2001-01-11general cleanup of file list passing:jdolecek
2001-01-08make ftmp() wrapper aroung tmpfile(), there is no need to reimplement itjdolecek
2000-10-17fix bugs caused by implicit assumption that 'length' andjdolecek
2000-10-16enlarge line buffer as necessary, so that it's possiblejdolecek
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