#
a2f733ab |
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
lib: 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.
Remov
lib: 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 |
|
#
5e53a4f9 |
| 26-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
lib: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using mis-identified many licenses so this was mostly a manual - error pr
lib: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using mis-identified 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.
show more ...
|
Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, 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, release/9.0.0, 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 |
|
#
a54bb702 |
| 28-Nov-2005 |
John Baldwin <jhb@FreeBSD.org> |
Restore the previous state after a FILL operation in properties_read() rather than forcing the state to LOOK. If we are in the middle of parsing a line when we have to do a FILL we would have lost a
Restore the previous state after a FILL operation in properties_read() rather than forcing the state to LOOK. If we are in the middle of parsing a line when we have to do a FILL we would have lost any token we were in the middle of parsing and would have treated the next character as being at the start of a new line instead.
PR: kern/89181 Submitted by: Antony Mawer gnats at mawer dot org MFC after: 1 week
show more ...
|
Revision tags: 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, 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 |
|
#
0ebec5d3 |
| 14-Jun-2003 |
Mark Murray <markm@FreeBSD.org> |
Tidy up. Sort headers.
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0 |
|
#
5fe03aba |
| 27-Jan-2003 |
Andrey A. Chernov <ache@FreeBSD.org> |
Now return NULLified struct in case of empty config file (previous variant return NULL pointer for both empty file case and error case, so caller can't sense error properly).
It not affect existen p
Now return NULLified struct in case of empty config file (previous variant return NULL pointer for both empty file case and error case, so caller can't sense error properly).
It not affect existen programs because property_find() now returns NULL for both NULL pointer and NULLified struct.
show more ...
|
#
33a155e4 |
| 27-Jan-2003 |
Andrey A. Chernov <ache@FreeBSD.org> |
Handle read errors
|
#
779092a4 |
| 19-Jan-2003 |
Andrey A. Chernov <ache@FreeBSD.org> |
Add (unsigned char) cast to ctype macros Handle NULL return from malloc and strdup
|
Revision tags: release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs |
|
#
7fed38d0 |
| 25-Aug-2002 |
Philippe Charnier <charnier@FreeBSD.org> |
Replace various spelling with FALLTHROUGH which is lint()able
|
Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs |
|
#
8719c58f |
| 01-Oct-2001 |
Matthew Dillon <dillon@FreeBSD.org> |
Add __FBSDID()s to libutil
|
Revision tags: release/4.3.0_cvs, release/4.3.0, release/4.2.0 |
|
#
40863aba |
| 09-Nov-2000 |
Murray Stokely <murray@FreeBSD.org> |
Eliminate inconsistency where a value that contains only whitespace confuses the parser.
Approved by: jkh
|
#
f9f81f78 |
| 08-Nov-2000 |
Murray Stokely <murray@FreeBSD.org> |
Added PROPERTY_MAX_VALUE and PROPERTY_MAX_NAME defines to libutil.h so that applications know how large of a buffer they must allocate before calling property_find(). Also added a $FreeBSD$ tag whil
Added PROPERTY_MAX_VALUE and PROPERTY_MAX_NAME defines to libutil.h so that applications know how large of a buffer they must allocate before calling property_find(). Also added a $FreeBSD$ tag while I'm here.
Approved by: jkh
show more ...
|
Revision tags: release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs, release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8 |
|
#
efbcb4ae |
| 22-Nov-1998 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Better document the file format, add in support for nested {}'s in multi-line property values.
|
#
8b1ef8d4 |
| 09-Oct-1998 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Now take stdio.h out of files that don't require it.
|
#
50dfa596 |
| 09-Oct-1998 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
o move path in libutil.h to paths.h o make property_read() take a fd instead to avoid stdio.h mess o update auth to new interface.
|
#
69761016 |
| 08-Oct-1998 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Correct a build error that got past my build test somehow.
|
#
b704025f |
| 07-Oct-1998 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Add a simple mechanism for reading property lists from files (which I'll convert sysinstall to use shortly) and a simple call which uses this mechanism to implement an /etc/auth.conf file. I'll let
Add a simple mechanism for reading property lists from files (which I'll convert sysinstall to use shortly) and a simple call which uses this mechanism to implement an /etc/auth.conf file. I'll let Mark Murray handle the format and checkin of the sample auth.conf file. Reviewed by: markm
show more ...
|
Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, 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, release/9.0.0, 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 |
|
#
a54bb702 |
| 28-Nov-2005 |
John Baldwin <jhb@FreeBSD.org> |
Restore the previous state after a FILL operation in properties_read() rather than forcing the state to LOOK. If we are in the middle of parsing a line when we have to do a FILL we would have lost a
Restore the previous state after a FILL operation in properties_read() rather than forcing the state to LOOK. If we are in the middle of parsing a line when we have to do a FILL we would have lost any token we were in the middle of parsing and would have treated the next character as being at the start of a new line instead.
PR: kern/89181 Submitted by: Antony Mawer gnats at mawer dot org MFC after: 1 week
show more ...
|
Revision tags: 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, 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 |
|
#
0ebec5d3 |
| 14-Jun-2003 |
Mark Murray <markm@FreeBSD.org> |
Tidy up. Sort headers.
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0 |
|
#
5fe03aba |
| 27-Jan-2003 |
Andrey A. Chernov <ache@FreeBSD.org> |
Now return NULLified struct in case of empty config file (previous variant return NULL pointer for both empty file case and error case, so caller can't sense error properly).
It not affect existen p
Now return NULLified struct in case of empty config file (previous variant return NULL pointer for both empty file case and error case, so caller can't sense error properly).
It not affect existen programs because property_find() now returns NULL for both NULL pointer and NULLified struct.
show more ...
|
#
33a155e4 |
| 27-Jan-2003 |
Andrey A. Chernov <ache@FreeBSD.org> |
Handle read errors
|
#
779092a4 |
| 19-Jan-2003 |
Andrey A. Chernov <ache@FreeBSD.org> |
Add (unsigned char) cast to ctype macros Handle NULL return from malloc and strdup
|
Revision tags: release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs |
|
#
7fed38d0 |
| 25-Aug-2002 |
Philippe Charnier <charnier@FreeBSD.org> |
Replace various spelling with FALLTHROUGH which is lint()able
|
Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs |
|
#
8719c58f |
| 01-Oct-2001 |
Matthew Dillon <dillon@FreeBSD.org> |
Add __FBSDID()s to libutil
|