aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/sort
Commit message (Collapse)AuthorAgeFilesLines
...
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-279-117/+63
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge from head@274682Simon J. Gerraty2014-11-193-4/+6
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * \ Merge head from 7/28Simon J. Gerraty2014-08-191-0/+1
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | | Merge from headSimon J. Gerraty2014-05-081-1/+1
| |\| | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265720
| * | | Merge headSimon J. Gerraty2014-04-2810-22/+22
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * \ \ \ Merge from headSimon J. Gerraty2013-09-0515-17/+17
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * | | | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | | | Sync with HEAD.David E. O'Brien2013-02-082-46/+28
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246555
| * | | | | | Updated/new Makefile.dependSimon J. Gerraty2012-11-081-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242788
| * | | | | | Sync from headSimon J. Gerraty2012-11-0411-115/+109
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | | | | Remove custom getdelim(3) and fix a small memory leak.Pedro F. Giffuni2015-04-073-72/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Originally from Andre Smagin. Obtained from: OpenBSD MFC after: 1 week Notes: svn path=/head/; revision=281182
* | | | | | | | sort(1): Cleanups and a small memory leak.Pedro F. Giffuni2015-04-071-16/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove useless check for leading blanks in the month name. The code didn't adjust len after stripping blanks so even if a month *did* start with a blank we'd end up copying garbage at the end. Also convert a malloc + memcpy to strdup and fix a memory leak in the wide char version if mbstowcs() fails. Originally from Andre Smagin. Obtained from: OpenBSD (CVS rev. 1.2, 1.3) MFC after: 1 week Notes: svn path=/head/; revision=281181
* | | | | | | | sort: style knits / cleanups.Pedro F. Giffuni2015-04-062-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Minor cleanups that got accidentally reverted. Obtained from: OpenBSD Notes: svn path=/head/; revision=281133
* | | | | | | | Revert (partial) r281123, r281125:Pedro F. Giffuni2015-04-067-8/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sort: style knits / cleanups. Our style guide(9) specifies that in absence of local variables an empty line must be inserted. Pointed out by: eadler Notes: svn path=/head/; revision=281132
* | | | | | | | sort: style knits / cleanups.Pedro F. Giffuni2015-04-056-69/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=281125
* | | | | | | | sort: Fix a comment.Pedro F. Giffuni2015-04-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=281124
* | | | | | | | sort: Cleanup small issues with spaces.Pedro F. Giffuni2015-04-056-24/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=281123
* | | | | | | | mdoc: use An macro.Joel Dahl2015-01-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=276658
* | | | | | | | Convert to usr.bin/ to LIBADDBaptiste Daroussin2014-11-251-4/+2
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275042
* | | | | | | Change LDFLAGS to LDADD in order to allow static builds. This is moreSean Bruno2014-11-151-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | proper way to ensure that the command line compile works the way we intend. Add explicity DPADD statemens on LIBMD and LIBPTHREAD depending on which options are used in the build. Reviewed by: andrew MFC after: 2 weeks Notes: svn path=/head/; revision=274552
* | | | | | | Make sure to not skip any argument when converting from deprecatedBaptiste Daroussin2014-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +POS1, -POS2 to -kPOS1,POS2, so that sort +0n gets translated to sort -k1,1n as it is expected PR: 193994 Submitted by: rodrigo MFC after: 3 days Notes: svn path=/head/; revision=272398
* | | | | | | Remove trailing '.' from See Also section.Glen Barber2014-07-301-1/+1
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=269289
* | | | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* | | | | Fix spelling error.Bryan Drewery2014-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=264918
* | | | | Various style(9) fixes and typos in grep, sort and patch.Pedro F. Giffuni2014-04-218-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=264744
* | | | | Convert sort to using newer MK_ convention.Warner Losh2014-04-051-2/+2
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=264159
* | | | | In usr.bin/sort/radixsort.c, pop_ls_mt() is only referenced ifDimitry Andric2013-12-221-4/+4
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SORT_THREADS is defined, so make the whole function conditional, instead of just the pthread calls in it. MFC after: 3 days Notes: svn path=/head/; revision=259740
* | | | Fix header guards.Eitan Adler2013-06-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was ready about the same time as r251862 so just make one final cleanup Submitted by: dt71@gmx.com Notes: svn path=/head/; revision=251863
* | | | Clean up -Wheader-guard warnings.Sergey Kandaurov2013-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: <dt71@gmx.com> MFC after: 3 days X-MFC with: r251848 Notes: svn path=/head/; revision=251862
* | | | - Update Oleg Moskalenko's email addressGabor Kovesdan2013-06-0215-15/+15
| |_|/ |/| | | | | | | | | | | | | | | | | Requested by: Oleg Moskalenko <mom040267@gmail.com> Notes: svn path=/head/; revision=251245
* | | - Remove forgotten commented out debug codeGabor Kovesdan2013-01-271-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> Reviewed by: Oleg Moskalenko <oleg.moskalenko@citrix.com> Notes: svn path=/head/; revision=245998
* | | - Simplify and unify diagnostic and error message handlingGabor Kovesdan2013-01-271-12/+8
| | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> Reviewed by: Oleg Moskalenko <oleg.moskalenko@citrix.com> Notes: svn path=/head/; revision=245997
* | | - Change the memory heuristics to an actually working oneGabor Kovesdan2012-12-201-19/+15
| | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com> Prodded by: kib Notes: svn path=/head/; revision=244515
* | | - Use unsigned int for values obtained with sysctlbyname(). This fixesGabor Kovesdan2012-12-172-4/+9
| |/ |/| | | | | | | | | | | | | | | | | sparc64 performance problems. Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com> Tested by: trasz Notes: svn path=/head/; revision=244346
* | - Portability changes for ARMGabor Kovesdan2012-11-019-70/+74
| | | | | | | | | | | | | | | | | | - Allow larger sort memory on 64-bit platforms Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com> Notes: svn path=/head/; revision=242430
* | More -Wmissing-variable-declarations fixes.Ed Schouten2012-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'. Notes: svn path=/head/; revision=241737
* | Remove WARNS=6 lines.Ed Schouten2012-10-181-2/+0
| | | | | | | | | | | | | | WARNS=6 is already implied at this point. Notes: svn path=/head/; revision=241695
* | - Remove GNU sort and the WITH_GNU_SORT knobGabor Kovesdan2012-10-131-8/+0
| | | | | | | | Notes: svn path=/head/; revision=241511
* | Remove trailing whitespace.Joel Dahl2012-09-091-2/+2
| | | | | | | | Notes: svn path=/head/; revision=240256
* | - Change --nthreads parameter to --parallel for GNU compatibilityGabor Kovesdan2012-07-045-13/+21
| | | | | | | | | | | | | | | | | | | | - Change default sort method to mergesort, which has a better worst case performance than qsort Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com> Notes: svn path=/head/; revision=238108
* | - Switch to BSD sort as default sort. GNU sort will still be installed asGabor Kovesdan2012-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | "gnusort". Most of the BSD sort development work was done by Oleg Moskalenko <oleg.moskalenko@citrix.com>. - GNU grep can be set to default by setting WITH_GNU_GREP. It will cause BSD sort to be installed as "bsdsort". Portbuild tested by: linimon Notes: svn path=/head/; revision=237629
* | - Disable threaded sort by defaultGabor Kovesdan2012-06-271-2/+2
| | | | | | | | | | | | | | - Fix typo in the NLS support Notes: svn path=/head/; revision=237628
* | - Remove the UNUSED_ARG macro and use __unused in argument listsGabor Kovesdan2012-06-082-17/+9
| | | | | | | | | | | | | | | | Reviewed by: dim MFC after: 3 days Notes: svn path=/head/; revision=236764
* | In usr.bin/sort, use another method of silencing warnings about unusedDimitry Andric2012-06-081-1/+1
|/ | | | | | | | | | arguments, which does not trigger self-assignment warnings in certain circumstances (for example, using clang with ccache). MFC after: 3 days Notes: svn path=/head/; revision=236759
* mdoc: sort sections into conventional order.Joel Dahl2012-05-261-21/+21
| | | | Notes: svn path=/head/; revision=236046