| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
Reviewed by: lwhsu, emaste
Approved by: emaste
Obtained from: DragonFlyBSD
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D23892
Notes:
svn path=/head/; revision=365458
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Observe:
printf "a\nb\nc\n" > /tmp/foo
# Next command results in no output
cat /tmp/foo | sort -m
# Next command results in proper output
cat /tmp/foo | sort -m -
# Also works:
sort -m /tmp/foo
Some const'ification was done to simplify the actual solution of adding "-"
explicitly to the file list if we didn't have any file arguments left over.
PR: 190099
MFC after: 1 week
Notes:
svn path=/head/; revision=335404
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
No functional change intended.
Notes:
svn path=/head/; revision=326276
|
| |
|
|
|
|
|
| |
Found by: Clang static analyzer
Notes:
svn path=/head/; revision=313891
|
| |
|
|
| |
Notes:
svn path=/head/; revision=298089
|
| |
|
|
|
|
|
|
|
|
| |
Originally from Andre Smagin.
Obtained from: OpenBSD
MFC after: 1 week
Notes:
svn path=/head/; revision=281182
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=281125
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=281123
|
| |
|
|
|
|
|
| |
Requested by: Oleg Moskalenko <mom040267@gmail.com>
Notes:
svn path=/head/; revision=251245
|
| |
|
|
|
|
|
|
|
| |
- Allow larger sort memory on 64-bit platforms
Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
Notes:
svn path=/head/; revision=242430
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
|
|
| |
- Do not use mmap() by default; it can be enabled by --mmap
- Add some minor optimizations for -u
- Update manual page according to the changes
Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
Notes:
svn path=/head/; revision=235987
|
| |
|
|
|
|
|
|
|
| |
required to optimize these so it may result in larger binary size.
Pointed out by: kib
Notes:
svn path=/head/; revision=235435
|
| |
|
|
| |
Notes:
svn path=/head/; revision=235432
|
|
|
with the major functionality and optimizations by Oleg Moskalenko.
It is compatible with the latest version of POSIX and the current GNU sort
version that we have in base. Beside this, it implements all the
functionality introduced in later versions of GNU sort. For now, it will
be installed as "bsdsort", keeping GNU sort as the default sort
implementation.
Notes:
svn path=/head/; revision=235267
|