Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-09-01 | Use an int, not a size_t, to store the return value of snprintf(). | Matthias Kilian | |
This gives the later tests against -1 a chance to actually do something. Initially from Igor Zinovik <zinovik@cs.karelia.ru>. ok ray@ | |||
2007-08-22 | sort usage(); | Jason McIntyre | |
2007-08-21 | Fix up the -s description, with help from tom@ | Todd C. Miller | |
2007-08-21 | Add a -s option to make the radix sort be a stable sort. Based on | Todd C. Miller | |
a diff from Eric Gouyer. Closes PR 5553. OK deraadt@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-30 | - use a consistent text for STANDARDS | Jason McIntyre | |
- note which options are extensions to POSIX | |||
2007-04-02 | The scanf(3) family of functions can return EOF (-1) if an input | Moritz Jodeit | |
failure occurs. So check it, before blindly adding it to some pointer. ok millert@ | |||
2007-03-13 | Work around gcc optimization bug on sh (landisk). From otto@ | Todd C. Miller | |
2007-03-13 | Use separate buffers in fsort.c and msort.c. Fixes a problem with | Todd C. Miller | |
buffer corruptions for some very large files. Also fixes some TRECHEADER vs. RECHEADER mismatches. Back in after unlock. | |||
2007-03-11 | some bug (in sort? or compiler) gets hit too late in the release cycle. | Theo de Raadt | |
please try again right after release. | |||
2007-03-07 | Use separate buffers in fsort.c and msort.c. Fixes a problem with | Todd C. Miller | |
buffer corruptions for some very large files. Also fixes some TRECHEADER vs. RECHEADER mismatches. OK deraadt@ otto@ ray@ | |||
2006-12-06 | Don't access buf[strlen(buf) - 1] for zero-length strings. | Ray Lai | |
OK jaredy@. | |||
2006-11-16 | Fix undefined behavior (var = ++var). | Ray Lai | |
From Alexey Dobriyan <adobriyan at gmail dot com>. OK otto@, moritz@, and jaredy@. | |||
2006-10-29 | Remove useless code that can cause a SEGV if a buffer is realloc()ed. | Todd C. Miller | |
Allocate buffers early and in one place instead of two. Make bufend global so it can be updated along with buffer. OK deraadt@ | |||
2006-10-28 | revert previous change; causes segfault when called from | Christian Weisgerber | |
pkg_mklocatedb/locate.mklocatedb | |||
2006-10-18 | Remove useless code that can cause a SEGV if a buffer is realloc()ed. | Todd C. Miller | |
Allocate buffers early and in one place instead of two. Fixes PR 5252; OK deraadt | |||
2006-02-14 | typo in comment; from ray lai | Jason McIntyre | |
2005-10-28 | sort is part of posix so document it as such. more importantly list our | David Gwynne | |
extensions so hopefully people moving scripts to other platforms wont get too confused. this has been bothering me since -z was added. big help from and ok jmc@ | |||
2005-10-04 | clarify behaviour of -u option; | Jason McIntyre | |
ok otto@ | |||
2005-10-04 | document that -k may be specified multiple times, | Jason McIntyre | |
and the effect of doing so; ok otto@ | |||
2005-10-04 | remove ellipsis from -k in usage(); | Jason McIntyre | |
2005-10-04 | remove ellipsis following -k in synopsis; my last commit put this | Jason McIntyre | |
in the wrong place, but i think it will be clearer to remove it altogether and improve the description of -k (to follow); ok otto@ | |||
2005-09-28 | sort options and sync usage(); | Jason McIntyre | |
some help from dlg@ | |||
2005-09-27 | add a -z option that allows you to split records on the nul character | David Gwynne | |
('\0'). useful in combination with things like "find . -print0" and "xargs -0". for dewi, a chump. ok deraadt@ | |||
2005-08-18 | Properly initialize 'end' in seq(), fixing a crash | Jared Yanovich | |
on input with long lines when the -n flag is given. ok millert | |||
2005-04-11 | remove silly optimization which should eventually save | Moritz Jodeit | |
a syscall, when it were not broken. ok otto@ | |||
2005-04-11 | also handle snprintf returning -1, trivial | Theo de Raadt | |
2004-09-14 | match foo[] between files, instead of foo[] in one, and *foo in another | Theo de Raadt | |
2004-09-14 | ARGSUSED before signal handler with unused signo | Theo de Raadt | |
2004-07-20 | ansi; khalek@linuxgamers.net | Theo de Raadt | |
2004-03-17 | do not init SINGL_FLD, SEP_FLAG twice; from robert nagy | Michael Shalayeff | |
2004-03-15 | only copy extra incomplete crec data if there is any, fixes occasional | Nikolay Sturm | |
failures of locate.updatedb adapted from NetBSD, ok tedu@, millert@ | |||
2003-11-15 | preferred spelling | Ted Unangst | |
2003-09-25 | don't run out of bounds. fixes david's crash during regress. | Ted Unangst | |
ok david deraadt millert | |||
2003-07-14 | - .Cm Fl -> .Fl | Jason McIntyre | |
- fix list width | |||
2003-06-26 | protos | Theo de Raadt | |
2003-06-10 | mostly ansi cleanup; pval ok | Theo de Raadt | |
2003-06-03 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-04-06 | Rewrite fixit() to use snprintf() and strtol() with bounds and error | Todd C. Miller | |
checking done in each place. This also removes the bogus limit on the number of '+' and '-' args. deraadt@ OK | |||
2003-03-31 | Sync positional arguments equivalence's description with reality. | Thierry Deval | |
ok millert@ | |||
2003-03-30 | Use PATH_MAX, not _POSIX_PATH_MAX for filename buffers. | Todd C. Miller | |
2002-11-09 | more SEE ALSO fixes. | Federico G. Schwindt | |
2002-02-17 | Manual cleanup of remaining userland __P use (excluding packages maintained ↵ | Todd C. Miller | |
outside the tree) | |||
2002-02-16 | Part 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-10 | Typo. | Aaron Campbell | |
2002-01-24 | fix the history refs | Michael Shalayeff | |
2002-01-04 | Align the pointers when splitting up a mallocated area. | Artur Grabowski | |
Cures alignment faults on alpha and sparc64. OK: niklas@ ericj@ millert@ | |||
2001-11-17 | Repair brain-damaged struct sigaction initialization. | Todd C. Miller | |
Noticed by Theo. | |||
2001-05-01 | Remove completely redundant introductory sentences in ENVIRONMENT sections. | Aaron Campbell | |
2001-03-20 | Prevent "sort -f /dev/null" from segfaulting. | Todd C. Miller | |