| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This is a residual of the $FreeBSD$ removal.
MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This replaces fgetln() with getline(). The main reason for this is
portability, making things easier for people who want to compile these
tools on non-FreeBSD systems.
I appreciate that's probably not the top concern for FreeBSD base tools,
but fgetln() is impossible to port to most platforms, as concurrent
access is essentially impossible to implement fully correct without the
line buffer on the FILE struct. Other than this, many generic FreeBSD
tools compile fairly cleanly on Linux with a few small changes.
Most uses of fgetln() pre-date getline() support (added in 2009 with
69099ba2ec8b), and there's been some previous patches (ee3ca711a898
8c98e6b1a7f3 1a2a4fc8ce1b) for other tools.
Obtained from: https://github.com/dcantrell/bsdutils and
https://github.com/chimera-linux/chimerautils
Signed-off-by: Martin Tournoij <martin@arp242.net>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/893
|
|
|
|
|
|
|
|
|
|
|
| |
We've ifdef'd out the copyright strings for some time now. Go ahead and
remove the ifdefs. Plus whatever other detritis was left over from other
recent removals. These copyright strings are present in the comments and
are largely from CSRG's attempt at adding their copyright to every
binary file (which modern interpretations of the license doesn't
require).
Sponsored by: Netflix
|
|
|
|
|
|
|
|
| |
Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.
Sponsored by: Netflix
|
|
|
|
| |
Remove /^\.\\"\s*\$FreeBSD\$$\n/
|
|
|
|
| |
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
|
|
|
| |
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
|
|
|
|
|
|
|
| |
In most cases, usage does not return, so mark them as __dead2. For the
cases where they do return, they have not been marked __dead2.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/735
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Consistently support -q (quiet) and -v (verbose)
- Allow specifying numbers with SI prefixes supported by expand_number(3)
- Remove 2^31 limit on lines for head(1)
MFC after: 2 weeks
Reviewed by: lwhsu, pauamma, gbe
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D35720
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update a bunch of Makefile.depend files as
a result of adding Makefile.depend.options files
Reviewed by: bdrewery
MFC after: 1 week
Sponsored by: Juniper Networks
Differential Revision: https://reviews.freebsd.org/D22494
Notes:
svn path=/head/; revision=355617
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Leaf directories that have dependencies impacted
by options need a Makefile.depend.options file
to avoid churn in Makefile.depend
DIRDEPS for cases such as OPENSSL, TCP_WRAPPERS etc
can be set in local.dirdeps-options.mk
which can add to those set in Makefile.depend.options
See share/mk/dirdeps-options.mk
Reviewed by: bdrewery
MFC after: 1 week
Sponsored by: Juniper Networks
Differential Revision: https://reviews.freebsd.org/D22469
Notes:
svn path=/head/; revision=355616
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=354368
|
|
|
|
|
|
|
|
|
|
| |
Reported by: ci.freebsd.org (8 times so far)
MFC after: 3 weeks
MFC with: r346315
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=346316
|
|
|
|
|
|
|
|
| |
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D14409
Notes:
svn path=/head/; revision=340376
|
|
|
|
|
|
|
|
|
|
|
| |
No functional change intended.
Reviewed by: emaste
MFC after: 3 weeks
Differential Revision: https://reviews.freebsd.org/D14498
Notes:
svn path=/head/; revision=340370
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Provide long options --bytes and --lines to match -c and -n respectively.
This improves head(1)'s compatibility with its GNU counterpart in a sensible
way.
Reviewed by: eadler (previous version)
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D14139
Notes:
svn path=/head/; revision=332374
|
|
|
|
|
|
|
|
|
|
| |
Submitted by: Fred Schlecter <https://github.com/fjs-github>
Reviewed by: asomers, jilles
MFC after: 3 weeks
Differential Revision: https://github.com/freebsd/freebsd/pull/127
Notes:
svn path=/head/; revision=326039
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 3-Clause license.
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.
Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.
Notes:
svn path=/head/; revision=326025
|
|
|
|
|
|
|
| |
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=325188
|
|
|
|
|
|
|
|
|
|
|
|
| |
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96
Notes:
svn path=/head/; revision=314436
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
Notes:
svn path=/head/; revision=284345
|
| |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=284172
|
| |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=266219
|
| |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=265802
|
| |\
| |/
|/|
| | |
Notes:
svn path=/projects/bmake/; revision=249429
|
| |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=248169
|
| |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=246868
|
| |
| |
| |
| |
| |
| |
| | |
Requested by: Simon Gerraty <sjg@juniper.net>
Notes:
svn path=/projects/bmake/; revision=239572
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=248414
|
|/
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=248393
|
|
|
|
|
|
|
|
|
|
|
|
| |
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
Notes:
svn path=/head/; revision=216370
|
|
|
|
|
|
|
| |
Also add some missing $FreeBSD$ to keep svn happy.
Notes:
svn path=/head/; revision=201386
|
|
|
|
|
|
|
| |
before comparing with a size_t.
Notes:
svn path=/head/; revision=165955
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
patch this uses off_t.
WARNSify and add $FreeBSD$ to Makefile.
PR: bin/107824
Submitted by: Brian Cornell <briancornell at earthlink dot net>
MFC after: 3 days
Notes:
svn path=/head/; revision=165940
|
|
|
|
| |
Notes:
svn path=/head/; revision=140368
|
|
|
|
|
|
|
| |
compiler.
Notes:
svn path=/head/; revision=100575
|
|
|
|
| |
Notes:
svn path=/head/; revision=99112
|
|
|
|
|
|
|
| |
Use the literal string 'PWB UNIX', as we still have no .At macro for it.
Notes:
svn path=/head/; revision=98107
|
|
|
|
| |
Notes:
svn path=/head/; revision=95652
|
|
|
|
|
|
|
|
| |
2) Remove registers.
3) Change some ints to size_t which are used with fread/fwrite.
Notes:
svn path=/head/; revision=93441
|
|
|
|
| |
Notes:
svn path=/head/; revision=92920
|
|
|
|
| |
Notes:
svn path=/head/; revision=92341
|
|
|
|
|
|
|
|
|
|
|
| |
and -c are mutually exclusive.
PR: 34233
Submitted by: Gary W. Swearingen <swear@blarg.net>
MFC after: 3 days
Notes:
svn path=/head/; revision=89767
|
|
|
|
|
|
|
|
| |
fgetln/fwrite instead of getc/putchar, this seems about five times
faster.
Notes:
svn path=/head/; revision=85861
|
|
|
|
| |
Notes:
svn path=/head/; revision=85859
|
|
|
|
| |
Notes:
svn path=/head/; revision=81687
|
|
|
|
| |
Notes:
svn path=/head/; revision=79755
|
|
|
|
| |
Notes:
svn path=/head/; revision=79535
|
|
|
|
| |
Notes:
svn path=/head/; revision=72432
|