#
5e3934b1 |
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
usr.bin: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
R
usr.bin: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
1d386b48 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
4d846d26 |
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
1de7b4b8 |
| 27-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
various: general adoption of SPDX licensing ID tags.
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
various: general adoption of SPDX licensing ID tags.
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.
show more ...
|
Revision tags: release/10.4.0, release/11.1.0 |
|
#
7e1b7636 |
| 08-May-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r317808 through r317970.
|
#
48b64419 |
| 08-May-2017 |
Conrad Meyer <cem@FreeBSD.org> |
csplit(1): Fix extraneous output in edge case
When the input to csplit contains fewer lines than the number of matches specified, extra output was mistakenly included in some output files.
Fix the
csplit(1): Fix extraneous output in edge case
When the input to csplit contains fewer lines than the number of matches specified, extra output was mistakenly included in some output files.
Fix the bug and add a simple ATF regression test.
PR: 219024 Submitted by: J.R. Oldroyd <fbsd at opal.com>
show more ...
|
#
be27b311 |
| 04-May-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r317503 through r317807.
|
#
daa379c5 |
| 02-May-2017 |
Jilles Tjoelker <jilles@FreeBSD.org> |
csplit: Fix check of fputs() return value, making csplit work again.
As of r295638, fputs() returns the number of bytes written (if not more than INT_MAX). This broke csplit completely, since csplit
csplit: Fix check of fputs() return value, making csplit work again.
As of r295638, fputs() returns the number of bytes written (if not more than INT_MAX). This broke csplit completely, since csplit assumed only success only for the return value 0.
PR: 213510 Submitted by: J.R. Oldroyd MFC after: 1 week Relnotes: yes
show more ...
|
Revision tags: release/11.0.1, release/11.0.0 |
|
#
a651f2bc |
| 10-May-2016 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Rename getline with get_line to avoid collision with getline(3)
When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added. This rename is made in preparation for the removal of thi
Rename getline with get_line to avoid collision with getline(3)
When getline(3) in 2009 was added a _WITH_GETLINE guard has also been added. This rename is made in preparation for the removal of this guard
Obtained from: NetBSD
show more ...
|
Revision tags: release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0 |
|
#
8fa0b743 |
| 23-Jan-2012 |
Xin LI <delphij@FreeBSD.org> |
IFC @230489 (pending review).
|
Revision tags: release/9.0.0 |
|
#
3ee1a36e |
| 22-Nov-2011 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r227804
Pull in the virtio drivers from head.
|
#
b168c3c8 |
| 06-Nov-2011 |
Ed Schouten <ed@FreeBSD.org> |
Add missing static keywords to csplit(1)
|
Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0 |
|
#
2fa2fea1 |
| 22-Mar-2004 |
Tim J. Robbins <tjr@FreeBSD.org> |
Use fseeko() to properly support large files.
|
#
23e7704b |
| 22-Mar-2004 |
Tim J. Robbins <tjr@FreeBSD.org> |
Use errc().
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2 |
|
#
8015edee |
| 28-Jul-2002 |
David Malone <dwmalone@FreeBSD.org> |
The return value of snprintf should be always nonnegative, so it should be safe to cast it to a size_t before comparing it to a sizeof().
|
#
5b3df62e |
| 26-Jul-2002 |
Tim J. Robbins <tjr@FreeBSD.org> |
Use sigaction(2) instead of signal(3) to avoid the signal handler being re-entered.
|
Revision tags: release/4.6.1, release/4.6.0_cvs |
|
#
e12c2e18 |
| 29-Jun-2002 |
Tim J. Robbins <tjr@FreeBSD.org> |
Avoid truncating filenames with snprintf().
|
#
9bd2f93a |
| 07-Jun-2002 |
Tim J. Robbins <tjr@FreeBSD.org> |
Respect LC_CTYPE and LC_COLLATE environment variables, mainly for their effects on regular expressions. The libc regex code does not handle equivalence classes well (for example), but we do our best.
|
#
248602a1 |
| 16-May-2002 |
Tim J. Robbins <tjr@FreeBSD.org> |
Handle the case where a negative offset in a regular expression match is larger than the number of lines in the overflow file.
|
#
bc025955 |
| 16-May-2002 |
Tim J. Robbins <tjr@FreeBSD.org> |
Correct synopsis and usage(): pattern arguments are not optional.
|
#
ea9e961c |
| 02-May-2002 |
Tim J. Robbins <tjr@FreeBSD.org> |
Add the csplit(1) utility, which splits files based on context, as specified by SUSv3.
PR: 36191 Reviewed by: mike
|
Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0 |
|
#
2fa2fea1 |
| 22-Mar-2004 |
Tim J. Robbins <tjr@FreeBSD.org> |
Use fseeko() to properly support large files.
|
#
23e7704b |
| 22-Mar-2004 |
Tim J. Robbins <tjr@FreeBSD.org> |
Use errc().
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2 |
|
#
8015edee |
| 28-Jul-2002 |
David Malone <dwmalone@FreeBSD.org> |
The return value of snprintf should be always nonnegative, so it should be safe to cast it to a size_t before comparing it to a sizeof().
|
#
5b3df62e |
| 26-Jul-2002 |
Tim J. Robbins <tjr@FreeBSD.org> |
Use sigaction(2) instead of signal(3) to avoid the signal handler being re-entered.
|