summaryrefslogtreecommitdiff
path: root/usr.bin/sort
AgeCommit message (Expand)Author
2014-10-26Add parentheses to suppress compiler warning.Brad Smith
2014-10-11Userland reallocarray() audit.Doug Hogan
2013-11-28unsigned char for ctypeTheo de Raadt
2013-11-13repair buffer resizing "undershoot", and some minor issues withTheo de Raadt
2013-08-24use MB for megabytes instead of Mb;Jason McIntyre
2012-12-21the gcc bug seems to have been fixed...Theo de Raadt
2012-10-30fdopen(3) return a FILE * not an int, so compare against NULL.Gleydson Soares
2012-09-10The gcc-sh-register-allocator bug may never be fixed. When we move toTheo de Raadt
2011-01-01Stop enterfield() from writing beyond the end of the buffer.Mark Kettenis
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
2010-06-28move -H and -s to their own little section, since they did not belong inJason McIntyre
2010-06-11various fixes from Daniel Dickman:Jason McIntyre
2010-05-27"Pa Ar" produces wonky output, and makes no sense;Jason McIntyre
2009-12-22implement -C (silent -c), required by POSIX.1-2008;Ingo Schwarze
2009-10-28Don't catch a signal if we inherited it as ignored. Instigated byPhilip Guenthe
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-08-16replace ".Ar file ..." with ".Ar" whenever possible.Igor Sobrado
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
2008-11-20KNF; only white space changesOtto Moerbeek
2008-10-01-s not specified by posix; from Daniel DickmanJason McIntyre
2008-03-19Get rid of a useless variable.Matthias Kilian
2008-02-22Fix the processing of numbers containing zeroes in -n (numeric)Todd C. Miller
2007-09-01Use an int, not a size_t, to store the return value of snprintf().Matthias Kilian
2007-08-22sort usage();Jason McIntyre
2007-08-21Fix up the -s description, with help from tom@Todd C. Miller
2007-08-21Add a -s option to make the radix sort be a stable sort. Based onTodd C. Miller
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
2007-04-02The scanf(3) family of functions can return EOF (-1) if an inputMoritz Jodeit
2007-03-13Work around gcc optimization bug on sh (landisk). From otto@Todd C. Miller
2007-03-13Use separate buffers in fsort.c and msort.c. Fixes a problem withTodd C. Miller
2007-03-11some bug (in sort? or compiler) gets hit too late in the release cycle.Theo de Raadt
2007-03-07Use separate buffers in fsort.c and msort.c. Fixes a problem withTodd C. Miller
2006-12-06Don't access buf[strlen(buf) - 1] for zero-length strings.Ray Lai
2006-11-16Fix undefined behavior (var = ++var).Ray Lai
2006-10-29Remove useless code that can cause a SEGV if a buffer is realloc()ed.Todd C. Miller
2006-10-28revert previous change; causes segfault when called fromChristian Weisgerber
2006-10-18Remove useless code that can cause a SEGV if a buffer is realloc()ed.Todd C. Miller
2006-02-14typo in comment; from ray laiJason McIntyre
2005-10-28sort is part of posix so document it as such. more importantly list ourDavid Gwynne
2005-10-04clarify behaviour of -u option;Jason McIntyre
2005-10-04document that -k may be specified multiple times,Jason McIntyre
2005-10-04remove ellipsis from -k in usage();Jason McIntyre
2005-10-04remove ellipsis following -k in synopsis; my last commit put thisJason McIntyre
2005-09-28sort options and sync usage();Jason McIntyre
2005-09-27add a -z option that allows you to split records on the nul characterDavid Gwynne
2005-08-18Properly initialize 'end' in seq(), fixing a crashJared Yanovich
2005-04-11remove silly optimization which should eventually saveMoritz Jodeit
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