summaryrefslogtreecommitdiff
path: root/usr.bin/sort/sort.c
AgeCommit message (Expand)Author
2003-08-07add TNF copyrightjdolecek
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2002-12-24g/c many_files(), toojdolecek
2002-12-24bump 'soft' limit for number of files to hard limit on startup; wejdolecek
2002-12-24move fltab outside main and make it static, eliminate two memset()sjdolecek
2002-11-27Remove the statically initialized "sigaction" structure completely becausetron
2002-11-27Add braces in a statically initialized "sigaction" structure to fix atron
2001-05-14disable the code which maxes nofiles limit, it should not be normallyjdolecek
2001-04-30XXXross
2001-02-22- use MAXPATHLEN (1024) instead of _POSIX_PATH_MAX (255) for the temporarychristos
2001-02-21Fix problem when using sort >> foochristos
2001-02-19full -T supportjdolecek
2001-02-19resurrect old ftmp() - it supports alternative directory for temporaryjdolecek
2001-02-07use -R instead of -w, since that's what OpenBSD is using and there is no reasonjdolecek
2001-02-07Since -T is used to select directory for temporary files in other sortjdolecek
2001-02-07use errx(), not err() within section for '-t' flagjdolecek
2001-01-13And make usage() test for NULL explicitly..soren
2001-01-13usage() expects a NULL when there is no specific error message.soren
2001-01-13save couple of cycles and bytes by static initialization of sigaction actjdolecek
2001-01-12alltable[], itable[], dtable[] were moved to init.c, g/c from sort.[ch]jdolecek
2001-01-11the g/c in rev 1.12 was too aggressive - put back codejdolecek
2001-01-11general cleanup of file list passing:jdolecek
2001-01-08make ftmp() wrapper aroung tmpfile(), there is no need to reimplement itjdolecek
2001-01-08call setlocale() on startupjdolecek
2001-01-08constify a bit, small cleanupsjdolecek
2001-01-08by default, use stable sortjdolecek
2000-10-16include a bit more information in error messages, constifyjdolecek
2000-10-11Format string fixes.thorpej
2000-10-07OpenBSD revision 1.5:bjh21
2000-10-07OpenBSD revision 1.3:bjh21
2000-10-07Part of OpenBSD revision 1.2:bjh21
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