CVS commit: src/sys/arch/hpcmips/conf
Module Name:src Committed By: skrll Date: Tue Jan 12 08:03:19 UTC 2021 Modified Files: src/sys/arch/hpcmips/conf: GENERIC Log Message: Turn on DIAGNOSTIC to help track down problem in hpcmips test runs To generate a diff of this commit: cvs rdiff -u -r1.243 -r1.244 src/sys/arch/hpcmips/conf/GENERIC Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/nbperf
Module Name:src Committed By: joerg Date: Tue Jan 12 14:21:18 UTC 2021 Modified Files: src/usr.bin/nbperf: nbperf.c Log Message: Don't use arc4random for the tools build on NetBSD either. compat_defs.h explicitly forces _POSIX_SOURCE and this hides the prototype in stdlib.h. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.bin/nbperf/nbperf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/kern
Module Name:src Committed By: skrll Date: Tue Jan 12 19:36:39 UTC 2021 Modified Files: src/sys/kern: subr_pcq.c Log Message: Typo in comment To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/kern/subr_pcq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: rillig Date: Tue Jan 12 20:42:01 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c d_c99_bool_strict.exp src/usr.bin/xlint/common: externs.h src/usr.bin/xlint/lint1: cgram.y err.c externs1.h func.c main1.c op.h oper.c ops.def tree.c src/usr.bin/xlint/lint2: main2.c src/usr.bin/xlint/xlint: lint.1 xlint.c Added Files: src/tests/usr.bin/xlint: check-expect.lua Log Message: lint: add new check for strict bool mode In strict bool mode, bool is considered incompatible with all other scalar types, just as in Java, C#, Pascal. The controlling expressions in if statements, while loops, for loops and the '?:' operator must be of type bool. The logical operators work on bool instead of int, the bitwise operators accept both integer and bool. The arithmetic operators don't accept bool. Since implements bool using C preprocessor macros instead of predefining the identifiers "true" and "false", the integer constants 0 and 1 may be used in all contexts that require a bool expression. Except from these, no implicit conversion between bool and scalar types is allowed. See usr.bin/tests/xlint/lint1/d_c99_bool_strict.c for more details. The command line option -T has been chosen because all obvious choices (-b or -B for bool, -s or -S for strict) are already in use. The -T may stand for "types are checked strictly". The default behavior of lint doesn't change. The strict bool check is purely optional. An example program for strict bool mode is usr.bin/make, which has been using explicit comparisons such as p != NULL, ch != '\0' or n > 0 in most places for a long time now, even before the refactoring in 2020. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/tests/usr.bin/xlint/check-expect.lua cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.c cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.exp cvs rdiff -u -r1.12 -r1.13 src/usr.bin/xlint/common/externs.h cvs rdiff -u -r1.138 -r1.139 src/usr.bin/xlint/lint1/cgram.y cvs rdiff -u -r1.65 -r1.66 src/usr.bin/xlint/lint1/err.c cvs rdiff -u -r1.54 -r1.55 src/usr.bin/xlint/lint1/externs1.h cvs rdiff -u -r1.56 -r1.57 src/usr.bin/xlint/lint1/func.c cvs rdiff -u -r1.33 -r1.34 src/usr.bin/xlint/lint1/main1.c cvs rdiff -u -r1.11 -r1.12 src/usr.bin/xlint/lint1/op.h cvs rdiff -u -r1.2 -r1.3 src/usr.bin/xlint/lint1/oper.c cvs rdiff -u -r1.9 -r1.10 src/usr.bin/xlint/lint1/ops.def cvs rdiff -u -r1.150 -r1.151 src/usr.bin/xlint/lint1/tree.c cvs rdiff -u -r1.10 -r1.11 src/usr.bin/xlint/lint2/main2.c cvs rdiff -u -r1.41 -r1.42 src/usr.bin/xlint/xlint/lint.1 cvs rdiff -u -r1.52 -r1.53 src/usr.bin/xlint/xlint/xlint.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/xlint
Module Name:src Committed By: rillig Date: Tue Jan 12 21:48:10 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: main1.c src/usr.bin/xlint/lint2: main2.c Log Message: lint: update usage for lint1 and lint2 (Forgotten in the previous commit.) To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/usr.bin/xlint/lint1/main1.c cvs rdiff -u -r1.11 -r1.12 src/usr.bin/xlint/lint2/main2.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/kern
Module Name:src Committed By: riastradh Date: Wed Jan 13 02:19:09 UTC 2021 Modified Files: src/sys/kern: kern_threadpool.c Log Message: threadpool(9): Make threadpool_percpu_ref_remote non-sleepable. Needed for threadpool-based workqueue_enqueue to run in interrupt context. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/kern/kern_threadpool.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/kern
Module Name:src Committed By: riastradh Date: Wed Jan 13 02:20:15 UTC 2021 Modified Files: src/sys/kern: kern_threadpool.c Log Message: threadpool(9): Tidy up thread naming. - `dispatcher', not `overseer' -- much more appropriate metaphor. - Just omit `/-1' from unbound thread names. - Just omit `@-1' from dynamic-priority (PRI_NONE) thread names. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/kern/kern_threadpool.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man7
Module Name:src Committed By: riastradh Date: Wed Jan 13 05:21:34 UTC 2021 Modified Files: src/share/man/man7: entropy.7 Log Message: entropy(7): Add missing URL to reference. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/share/man/man7/entropy.7 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/hpcmips/vr
Module Name:src Committed By: skrll Date: Wed Jan 13 06:39:47 UTC 2021 Modified Files: src/sys/arch/hpcmips/vr: vraiu.c Log Message: Don't advertise AUDIO_PROP_CAPTURE - no capture method is provided [ 1.000] audio0 at vraiu0: missing capture method To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/hpcmips/vr/vraiu.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/lib/libc/gen
Module Name:src Committed By: skrll Date: Wed Jan 13 06:44:55 UTC 2021 Modified Files: src/tests/lib/libc/gen: t_siginfo.c Log Message: skip sigbus_adraln on MIPS To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/tests/lib/libc/gen/t_siginfo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/kern
Module Name:src Committed By: skrll Date: Wed Jan 13 07:34:37 UTC 2021 Modified Files: src/sys/kern: kern_threadpool.c Log Message: Improve english in a comment To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/kern/kern_threadpool.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/kern
Module Name:src Committed By: skrll Date: Wed Jan 13 07:36:56 UTC 2021 Modified Files: src/sys/kern: kern_lwp.c kgdb_stub.c Log Message: Improve English in comments To generate a diff of this commit: cvs rdiff -u -r1.242 -r1.243 src/sys/kern/kern_lwp.c cvs rdiff -u -r1.29 -r1.30 src/sys/kern/kgdb_stub.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.