summaryrefslogtreecommitdiff
path: root/usr.bin/sort
AgeCommit message (Collapse)Author
2005-04-11remove silly optimization which should eventually saveMoritz Jodeit
a syscall, when it were not broken. ok otto@
2005-04-11also handle snprintf returning -1, trivialTheo de Raadt
2004-09-14match foo[] between files, instead of foo[] in one, and *foo in anotherTheo de Raadt
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-07-20ansi; khalek@linuxgamers.netTheo de Raadt
2004-03-17do not init SINGL_FLD, SEP_FLAG twice; from robert nagyMichael Shalayeff
2004-03-15only copy extra incomplete crec data if there is any, fixes occasionalNikolay Sturm
failures of locate.updatedb adapted from NetBSD, ok tedu@, millert@
2003-11-15preferred spellingTed Unangst
2003-09-25don't run out of bounds. fixes david's crash during regress.Ted Unangst
ok david deraadt millert
2003-07-14- .Cm Fl -> .FlJason McIntyre
- fix list width
2003-06-26protosTheo de Raadt
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-06Rewrite fixit() to use snprintf() and strtol() with bounds and errorTodd C. Miller
checking done in each place. This also removes the bogus limit on the number of '+' and '-' args. deraadt@ OK
2003-03-31Sync positional arguments equivalence's description with reality.Thierry Deval
ok millert@
2003-03-30Use PATH_MAX, not _POSIX_PATH_MAX for filename buffers.Todd C. Miller
2002-11-09more SEE ALSO fixes.Federico G. Schwindt
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-10Typo.Aaron Campbell
2002-01-24fix the history refsMichael Shalayeff
2002-01-04Align the pointers when splitting up a mallocated area.Artur Grabowski
Cures alignment faults on alpha and sparc64. OK: niklas@ ericj@ millert@
2001-11-17Repair brain-damaged struct sigaction initialization.Todd C. Miller
Noticed by Theo.
2001-05-01Remove completely redundant introductory sentences in ENVIRONMENT sections.Aaron Campbell
2001-03-20Prevent "sort -f /dev/null" from segfaulting.Todd C. Miller
2001-02-04Bring in some recent fixup's from NetBSD. This allows lines longer than 65522Eric Jackson
to be properly sorted. Many other cleanup's done, and depreciate register. millert@ and deraadt@ ok.
2001-01-19mark remaining signal races which are difficult to fix, and fix a few partiallyTheo de Raadt
2001-01-12moved stests to src/regress/usr.bin/sort which is more appropriateTodd C. Miller
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-10-18- Section shuffling.Aaron Campbell
- Remove short lines.
2000-07-06Insert more missing .El directives. Our troff really should identify these andAaron Campbell
spit out a warning.
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
2000-04-12Trailing whitespace begone!Aaron Campbell
2000-03-24Correct the HISTORY section to note that this command appeared in Version 5Aaron Campbell
of AT&T UNIX, not Version 6. Verified by strings(1)'ing a .dsk file (PDP-11 executable) containing the v5 sources, obtainable at gatekeeper.dec.com in the directory /pub/DEC/sim/software. Idea from NetBSD PR/4790.
2000-03-11Various cleanups and standardizations.Aaron Campbell
2000-03-05Finish standardizing options list introduction.Aaron Campbell
2000-01-05clarify; suggestions from austin@canuck.comPaul Janzen
1999-11-30Using mkstemp to create permanent files is possible, but thenMarc Espie
the file mode needs tweaking to look like normal file creation. Approved by millert@, noticed by my students at Epita. Thanks guys !
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1999-06-01s/line/record/; phil@athenaeum.jellybaby.netAaron Campbell
1999-05-24Dynamically allocate memory for structures whose sizes are based on theTodd C. Miller
number of keys given. Closes PR #825.
1998-09-27usr.bin/ man page cleanups, n-sAaron Campbell
1998-07-24put -H in synopsis; aaron@ug.cs.dal.caTheo de Raadt
1998-07-20use warnx()Michael Shalayeff
1998-07-20indentTheo de Raadt
1998-07-20fix usage correctlyTheo de Raadt
1998-07-20consolidate printfsMichael Shalayeff
1998-05-02fix yet another malloc problem.Michael Shalayeff
malloc(2) states quite clear that "malloc() allocates uninitialized space" just one malloc'ed memory is cleared by this fix. do a 'sort -u /dev/null' w/ /etc/malloc.conf -> J> to reproduce.
1997-09-21$OpenBSD$Theo de Raadt
1997-06-3064bit fixes. Some of these are a bit bogus as there were "long"sTodd C. Miller
meant to be file offsets for fseek(3). However, those values could never be > an int anyay so it is not a problem.