summaryrefslogtreecommitdiffstats
path: root/usr.bin/sort
Commit message (Collapse)AuthorAgeFilesLines
* new dependssjg2015-06-161-1/+0
|
* Add META_MODE support.sjg2015-06-131-0/+21
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-279-117/+63
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-193-4/+6
| |\
| * \ Merge head from 7/28sjg2014-08-191-0/+1
| |\ \
| * | | Updated dependenciessjg2014-05-161-1/+0
| | | |
| * | | Updated dependenciessjg2014-05-101-0/+2
| | | |
| * | | Merge from headsjg2014-05-081-1/+1
| |\ \ \ | | |/ /
| * | | Merge headsjg2014-04-2810-22/+22
| |\ \ \
| * \ \ \ Merge from headsjg2013-09-0515-17/+17
| |\ \ \ \
| * | | | | Updated dependenciessjg2013-03-111-0/+1
| | | | | |
| * | | | | Updated dependenciessjg2013-02-161-2/+0
| | | | | |
| * | | | | Sync with HEAD.obrien2013-02-082-46/+28
| |\ \ \ \ \
| * | | | | | Updated/new Makefile.dependsjg2012-11-081-1/+0
| | | | | | |
| | | | | | |
| | \ \ \ \ \
| | \ \ \ \ \
| | \ \ \ \ \
| | \ \ \ \ \
| | \ \ \ \ \
| *-----. \ \ \ \ \ Sync from headsjg2012-11-0411-115/+109
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+22
| | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | | | | Remove custom getdelim(3) and fix a small memory leak.pfg2015-04-073-72/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Originally from Andre Smagin. Obtained from: OpenBSD MFC after: 1 week
* | | | | | | | | | sort(1): Cleanups and a small memory leak.pfg2015-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
* | | | | | | | | | sort: style knits / cleanups.pfg2015-04-062-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Minor cleanups that got accidentally reverted. Obtained from: OpenBSD
* | | | | | | | | | Revert (partial) r281123, r281125:pfg2015-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
* | | | | | | | | | sort: style knits / cleanups.pfg2015-04-056-69/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: OpenBSD
* | | | | | | | | | sort: Fix a comment.pfg2015-04-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: OpenBSD
* | | | | | | | | | sort: Cleanup small issues with spaces.pfg2015-04-056-24/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: OpenBSD
* | | | | | | | | | mdoc: use An macro.joel2015-01-041-2/+2
| | | | | | | | | |
* | | | | | | | | | Convert to usr.bin/ to LIBADDbapt2014-11-251-4/+2
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking
* | | | | | | | | Change LDFLAGS to LDADD in order to allow static builds. This is moresbruno2014-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
* | | | | | | | | Make sure to not skip any argument when converting from deprecatedbapt2014-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
* | | | | | | | | Remove trailing '.' from See Also section.gjb2014-07-301-1/+1
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation
* | | | | | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | from the latter.
* | | | | | | Fix spelling error.bdrewery2014-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days
* | | | | | | Various style(9) fixes and typos in grep, sort and patch.pfg2014-04-218-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days
* | | | | | | Convert sort to using newer MK_ convention.imp2014-04-051-2/+2
| | | | | | |
* | | | | | | In usr.bin/sort/radixsort.c, pop_ls_mt() is only referenced ifdim2013-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
* | | | | | Fix header guards.eadler2013-06-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was ready about the same time as r251862 so just make one final cleanup Submitted by: dt71@gmx.com
* | | | | | Clean up -Wheader-guard warnings.pluknet2013-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: <dt71@gmx.com> MFC after: 3 days X-MFC with: r251848
* | | | | | - Update Oleg Moskalenko's email addressgabor2013-06-0215-15/+15
| |_|_|_|/ |/| | | | | | | | | | | | | | Requested by: Oleg Moskalenko <mom040267@gmail.com>
* | | | | - Remove forgotten commented out debug codegabor2013-01-271-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> Reviewed by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
* | | | | - Simplify and unify diagnostic and error message handlinggabor2013-01-271-12/+8
| | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> Reviewed by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
* | | | | - Change the memory heuristics to an actually working onegabor2012-12-201-19/+15
| | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com> Prodded by: kib
* | | | | - Use unsigned int for values obtained with sysctlbyname(). This fixesgabor2012-12-172-4/+9
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | sparc64 performance problems. Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com> Tested by: trasz
* | | | - Portability changes for ARMgabor2012-11-019-70/+74
| | | | | | | | | | | | | | | | | | | | | | | | - Allow larger sort memory on 64-bit platforms Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
* | | | More -Wmissing-variable-declarations fixes.ed2012-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'.
* | | | Remove WARNS=6 lines.ed2012-10-181-2/+0
| | | | | | | | | | | | | | | | WARNS=6 is already implied at this point.
* | | | - Remove GNU sort and the WITH_GNU_SORT knobgabor2012-10-131-8/+0
| | | |
* | | | Remove trailing whitespace.joel2012-09-091-2/+2
| |/ / |/| |
* | | - Change --nthreads parameter to --parallel for GNU compatibilitygabor2012-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>
* | | - Switch to BSD sort as default sort. GNU sort will still be installed asgabor2012-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
* | | - Disable threaded sort by defaultgabor2012-06-271-2/+2
| |/ |/| | | | | - Fix typo in the NLS support
* | - Remove the UNUSED_ARG macro and use __unused in argument listsgabor2012-06-082-17/+9
| | | | | | | | | | Reviewed by: dim MFC after: 3 days
OpenPOWER on IntegriCloud