| #
ffbf9590
|
| 17-Feb-2026 |
Konstantin Belousov <kib@FreeBSD.org> |
libc: print extended errors from warn(3) and vwarn(3)
Noted and reviewed by: mckusick Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D55327
|
| #
37ddbbe5
|
| 27-Dec-2025 |
Konstantin Belousov <kib@FreeBSD.org> |
libc/gen/err.c: remove 'extended error' herald from extended error output
Reviewed by: emaste, mckusick Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.
libc/gen/err.c: remove 'extended error' herald from extended error output
Reviewed by: emaste, mckusick Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D54380
show more ...
|
| #
72c84808
|
| 08-Jul-2025 |
Konstantin Belousov <kib@FreeBSD.org> |
libc: only append exterr herald and text if exterr was recorded
__uexterr_format: return empty string on no error, instead of "No error" err(): check for the first symbol of the exterr to decide if
libc: only append exterr herald and text if exterr was recorded
__uexterr_format: return empty string on no error, instead of "No error" err(): check for the first symbol of the exterr to decide if there is anything to print.
Requested and reviewed by: markj Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D51204
show more ...
|
| #
01a67971
|
| 16-Jun-2025 |
Konstantin Belousov <kib@FreeBSD.org> |
err(3): print extended error if available
Reviewed by: asomers, brooks Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D51141
|
| #
dc36d6f9
|
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
lib: Remove ancient SCCS tags.
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 s
lib: Remove ancient SCCS tags.
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
show more ...
|
| #
1d386b48
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
b38d86a5
|
| 24-Oct-2020 |
Warner Losh <imp@FreeBSD.org> |
warnx: fix needless static
I noticed after the review that these shouldn't be static. Remove the 'static' from them, otherwise concurrent calls to warn* might see a similar but to the original.
|
| #
4e0771b2
|
| 23-Oct-2020 |
Warner Losh <imp@FreeBSD.org> |
warnx: Save errno across calls that might change it.
When warn() family of functions is being used after err_set_file() has been set to, for example, /dev/null, errno is being clobbered, rendering i
warnx: Save errno across calls that might change it.
When warn() family of functions is being used after err_set_file() has been set to, for example, /dev/null, errno is being clobbered, rendering it unreliable after, for example, procstat_getpathname() when it is supposed to emit a warning. Then the errno is changed to Inappropriate ioctl for device, destroying the original value (via calls to fprintf()functions).
Submitted by: Juraj Lutter Differential Revision: https://reviews.freebsd.org/D26871
show more ...
|
| #
37ddbbe5
|
| 27-Dec-2025 |
Konstantin Belousov <kib@FreeBSD.org> |
libc/gen/err.c: remove 'extended error' herald from extended error output
Reviewed by: emaste, mckusick Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.
libc/gen/err.c: remove 'extended error' herald from extended error output
Reviewed by: emaste, mckusick Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D54380
show more ...
|
| #
72c84808
|
| 08-Jul-2025 |
Konstantin Belousov <kib@FreeBSD.org> |
libc: only append exterr herald and text if exterr was recorded
__uexterr_format: return empty string on no error, instead of "No error" err(): check for the first symbol of the exterr to decide if
libc: only append exterr herald and text if exterr was recorded
__uexterr_format: return empty string on no error, instead of "No error" err(): check for the first symbol of the exterr to decide if there is anything to print.
Requested and reviewed by: markj Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D51204
show more ...
|
| #
01a67971
|
| 16-Jun-2025 |
Konstantin Belousov <kib@FreeBSD.org> |
err(3): print extended error if available
Reviewed by: asomers, brooks Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D51141
|
| #
dc36d6f9
|
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
lib: Remove ancient SCCS tags.
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 s
lib: Remove ancient SCCS tags.
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
show more ...
|
| #
1d386b48
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
b38d86a5
|
| 24-Oct-2020 |
Warner Losh <imp@FreeBSD.org> |
warnx: fix needless static
I noticed after the review that these shouldn't be static. Remove the 'static' from them, otherwise concurrent calls to warn* might see a similar but to the original.
|
| #
4e0771b2
|
| 23-Oct-2020 |
Warner Losh <imp@FreeBSD.org> |
warnx: Save errno across calls that might change it.
When warn() family of functions is being used after err_set_file() has been set to, for example, /dev/null, errno is being clobbered, rendering i
warnx: Save errno across calls that might change it.
When warn() family of functions is being used after err_set_file() has been set to, for example, /dev/null, errno is being clobbered, rendering it unreliable after, for example, procstat_getpathname() when it is supposed to emit a warning. Then the errno is changed to Inappropriate ioctl for device, destroying the original value (via calls to fprintf()functions).
Submitted by: Juraj Lutter Differential Revision: https://reviews.freebsd.org/D26871
show more ...
|
| #
c1920558
|
| 03-Jul-2018 |
John Baldwin <jhb@FreeBSD.org> |
Clean up the vcs ID strings in libc's gen/ directory.
- Move CSRG IDs into __SCCSID(). - When a file has been copied, consistently use 'From: <tag>' for strings referencing the version of the sour
Clean up the vcs ID strings in libc's gen/ directory.
- Move CSRG IDs into __SCCSID(). - When a file has been copied, consistently use 'From: <tag>' for strings referencing the version of the source file copied from in the license block comment. - Some of the 'From:' tags were using $FreeBSD$ that was being expanded on each checkout. Fix those to hardcode the FreeBSD tag from the file that was copied at the time of the copy. - When multiple strings are present list them in "chronological" order, so CSRG (__SCCSID) before FreeBSD (__FBSDID). If a file came from OtherBSD and contains a CSRG ID from the OtherBSD file, use the order CSRG -> OtherBSD -> FreeBSD.
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D15831
show more ...
|
| #
82725ba9
|
| 23-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r325999 through r326131.
|
| #
8a16b7a1
|
| 20-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
General further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier f
General further adoption of SPDX licensing ID tags.
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.
show more ...
|
| #
d02c951f
|
| 26-May-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r318658 through r318963.
|
| #
13841637
|
| 23-May-2017 |
Enji Cooper <ngie@FreeBSD.org> |
err(3): use `NULL`, aka `(void*)0` per POSIX instead of `(FILE *)0`
This is being done to aid humans and static analysis checkers.
MFC after: 2 weeks Sponsored by: Dell EMC Isilon
|
| #
348238db
|
| 01-Mar-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r314420 through r314481.
|
| #
fbbd9655
|
| 28-Feb-2017 |
Warner Losh <imp@FreeBSD.org> |
Renumber copyright clause 4
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
Renumber copyright clause 4
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
show more ...
|
| #
876d357f
|
| 11-Apr-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: The FreeBSD Foundation
|
| #
513004a2
|
| 10-Apr-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
libc: replace 0 with NULL for pointers.
While here also cleanup some surrounding code; particularly drop some malloc() casts.
Found with devel/coccinelle.
Reviewed by: bde (previous version - all
libc: replace 0 with NULL for pointers.
While here also cleanup some surrounding code; particularly drop some malloc() casts.
Found with devel/coccinelle.
Reviewed by: bde (previous version - all new bugs are mine)
show more ...
|
| #
11d38a57
|
| 28-Oct-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head
Sponsored by: Gandi.net
|