#
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. 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
|
#
bdcbfde3 |
|
23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
usr.bin: 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
|
#
1d386b48 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
5088a2d1 |
|
21-May-2020 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
indent(1): add fallthrough markers This silences -Wimplicit-fallthrough warnings. Submitted by: Michael Paquier Obtained from: postgresql.org MFC after: 3 days
|
#
02bde5cf |
|
06-Apr-2020 |
Kyle Evans <kevans@FreeBSD.org> |
indent: fix the -fno-common build Spread the globals far and wide, hopefully to the files that make the most sense. -fno-common will become the default in GCC10/LLVM11. MFC after: 3 days
|
#
0dee472d |
|
11-Aug-2018 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
indent(1): revert r334640 and r334632 While STACKSIZE macro is indeed problematic on some systems, the commits were wrong to shrink il[] and cstk[], because they need to be of the same size as p_stack[] as they're accessed with the same index ps.tos.
|
#
89463812 |
|
15-Jul-2018 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
indent(1): move case_indent from parser state to the options struct This was missed in r334927.
|
#
7e53aaed |
|
10-Jun-2018 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
indent(1): group global option variables into an options structure It's clearer now when a variable represents a toggable command line option. Many options were stored in the parser's state structure, so fix also that.
|
#
0929b3d9 |
|
04-Jun-2018 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
indent(1): fix buildworld after r334632 Fix error: comparison of integers of different signs: 'int' and 'unsigned long' by casting nitems() to int. Reported by: mjg
|
#
88b24a62 |
|
04-Jun-2018 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
indent(1): remove the STACKSIZE macro and all of its use It conflicts with a system-provided macro of the same name on another OS.
|
#
df57947f |
|
18-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
spdx: initial adoption of licensing ID tags. 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. Initially, only tag files that use BSD 4-Clause "Original" license. RelNotes: yes Differential Revision: https://reviews.freebsd.org/D13133
|
#
488f1486 |
|
02-Dec-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
indent(1): Avoid out-of-bound accesses of array ps.p_stack. Submitted by: Piotr Stefaniak
|
#
df54a266 |
|
02-Dec-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
indent(1): Remove an extra newline added in a previous commit. It doesn't math the remaining of the case statement.
|
#
b30bb755 |
|
02-Dec-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
indent(1): Optimize parser stack usage. When special else-if processing is enabled (-ei), we can assume "else if" and "if" to be equivalent for indentation purposes. This reduction saves a lot of stack space in case of a long "if-else-if ... else-if" sequence; with this change, Postgres/src/bin/psql/tab-complete.c as of 9.6beta3 requires minimum of the stack length to be 31 instead of 444. Submitted by: Piotr Sephaniak
|
#
743210ef |
|
27-Nov-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
indent(1): minor off-by-one error. This was introduced in r303571. Obtianed from: Piotr Stefaniak
|
#
16c2e360 |
|
22-Aug-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
indent(1): add some comments to quiet down Coverity. Hopefully adding comments should help explain the code to both static checkers and humans. CID: 976543, 976544, 976545 Obtained from: Piotr Stephaniak
|
#
70a3049e |
|
01-Aug-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
indent(1): Use a dash in the license headers. Use of the canonical dash avoids indent(1) from reformatting the license headers.
|
#
5467ab90 |
|
30-Jul-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
indent(1): Bail out if there's no more space on the parser stack. Also increase the stack size still keeping a conservative value of 256. This is based on a similar changes done for PostgreSQL which instead uses a stack size of 1000. Differential Revision: https://reviews.freebsd.org/D6966 (Partial) Submitted by: Piotr Stefaniak (with changes)
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
fe0506d7 |
|
09-Mar-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Create the altix project branch. The altix project will add support for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
d0054952 |
|
15-Jun-2003 |
Philippe Charnier <charnier@FreeBSD.org> |
err() on allocation failure. WARNS=9 compliant use #if 0, #ifndef lint, #endif /* not lint */, #endif ordering when a message is provided, use errx() instead of err().
|
#
dc51023c |
|
16-Oct-2002 |
Philippe Charnier <charnier@FreeBSD.org> |
Spelling
|
#
e026a48c |
|
29-Jun-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Consistently use FBSDID
|
#
90af6a72 |
|
24-Jun-2002 |
Juli Mallett <jmallett@FreeBSD.org> |
Remove deprecated register qualifier.
|
#
7916863d |
|
28-Oct-2001 |
Jens Schweikhardt <schweikh@FreeBSD.org> |
Make this compile cleanly when warnings are enabled: - ANSIfy function declarations - braces around initializers structs within structs - add parens in complicated expressions - disambiguate dangling elses - no more implicit int - make functions static where possible - use prototypes - don't use varargs hack for diag() Requested by: joerg MFC after: 2 weeks
|
#
175f26d6 |
|
24-Dec-2000 |
David E. O'Brien <obrien@FreeBSD.org> |
Don't abuse the SCCS `@(#)' for RCS. Requested by: bde
|
#
9e50dd77 |
|
09-Dec-2000 |
David E. O'Brien <obrien@FreeBSD.org> |
Add or fix FreeBSD IDs.
|
#
34ba7379 |
|
21-May-1999 |
Robert Nordier <rnordier@FreeBSD.org> |
Improve handling of "do ... while" following "else". This change eliminates some incorrect "Unmatched 'else'" errors.
|
#
7799f52a |
|
30-May-1995 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
Remove trailing whitespace.
|
#
9b50d902 |
|
26-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
BSD 4.4 Lite Usr.bin Sources
|