CVS commit: src/sys/dev/pci

2021-02-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Feb 23 07:17:58 UTC 2021 Modified Files: src/sys/dev/pci: mpii.c Log Message: Whitespace (mostly trailing) To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/dev/pci/mpii.c Please note that diffs are not

CVS commit: src/usr.bin/who

2021-02-22 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Tue Feb 23 07:15:41 UTC 2021 Modified Files: src/usr.bin/who: who.1 Log Message: Fix Fl argument. >From Kouichi Hashikawa in PR 56009. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/usr.bin/who/who.1 Please

CVS commit: src/sys/dev/pci

2021-02-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Feb 23 07:15:30 UTC 2021 Modified Files: src/sys/dev/pci: mpii.c Log Message: Use the PCI_MAPREG_TYPE macro. No binary change. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/dev/pci/mpii.c Please

CVS commit: src/sys

2021-02-22 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 23 07:13:53 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: db_machdep.c src/sys/arch/alpha/alpha: db_interface.c src/sys/arch/amd64/amd64: db_interface.c src/sys/arch/arm/arm32: db_machdep.c

CVS commit: src/bin/ksh

2021-02-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Feb 23 01:31:30 UTC 2021 Modified Files: src/bin/ksh: siglist.sh Log Message: PR/56007: Greg A. Woods: ksh unable to execute ERR traps (probably since 2016/03/17 - i.e. 8.x and 9.x) To generate a diff of this commit: cvs

CVS commit: src/usr.bin/make

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 23 00:27:48 UTC 2021 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: moderrs.exp Log Message: make: quote ':S' in error message about missing delimiter To generate a diff of this commit: cvs

CVS commit: src/usr.bin/make

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 23 00:25:06 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: extract ParseModifier_Match into separate function No functional change. To generate a diff of this commit: cvs rdiff -u -r1.844 -r1.845

CVS commit: src/usr.bin/make

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 23 00:15:22 UTC 2021 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmod-range.exp Log Message: make: add context information to error message about ':range' modifier To generate a diff

CVS commit: src/usr.bin/make

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 23 00:11:07 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: fix local variable name for parsing arguments The variable name 'arg' was misleading since after a successful TryParseTime, it would no

CVS commit: src/usr.bin/make

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 23 00:04:48 UTC 2021 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: moderrs.exp varmod-assign.exp varmod-edge.exp varmod-edge.mk varmod-sysv.exp Log Message: make: add quotes

CVS commit: src/usr.bin/make/unit-tests

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 23:59:43 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varmod-edge.exp varmod-edge.mk Log Message: make: add test for confusing double space in error message To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 23:46:03 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: reorder code in ModifyWords No functional change. To generate a diff of this commit: cvs rdiff -u -r1.840 -r1.841 src/usr.bin/make/var.c

CVS commit: src/usr.bin/make

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 23:42:29 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: use more common parameter order for VarSelectWords No functional change. To generate a diff of this commit: cvs rdiff -u -r1.839 -r1.840

CVS commit: src/usr.bin/make

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 23:39:24 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: make ModifyWord_Subst a little easier to understand Addition is easier than subtraction, and the expression 'word + wordLen' obviously means

CVS commit: src/usr.bin/make

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 23:21:33 UTC 2021 Modified Files: src/usr.bin/make: cond.c meta.c parse.c var.c Log Message: make: remove freestanding freeIt variables These variables all belong to a string variable. Connect them using FStr, which

CVS commit: src/usr.bin/make

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 22:55:43 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: remove boolean parameter and return type from VarFreeEnv There was only a single case where this parameter was false. Inline that case.

CVS commit: src/usr.bin/make

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 22:34:04 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: add a few open questions to Var_SetWithFlags To generate a diff of this commit: cvs rdiff -u -r1.835 -r1.836 src/usr.bin/make/var.c Please

CVS commit: src/usr.bin/make

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 22:26:50 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: do not expand variable name from the command line twice in a row When 1. there is a global variable containing a dollar in its expanded

CVS commit: src/usr.bin/make/unit-tests

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 22:04:28 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: var-class-cmdline.exp var-class-cmdline.mk Log Message: make: add test for cmdline variables overriding global variables To generate a diff of this

CVS commit: src/usr.bin/make

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 21:43:57 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: extract ExistsInCmdline from Var_SetWithFlags No functional change. To generate a diff of this commit: cvs rdiff -u -r1.833 -r1.834

CVS commit: src/usr.bin/make

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 21:30:33 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: save a hash map lookup when defining a cmdline variable This is a preparation to extract the code for exporting a cmdline variable. That

CVS commit: src/sys/arch/arm/pic

2021-02-22 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Feb 22 21:16:25 UTC 2021 Modified Files: src/sys/arch/arm/pic: pic_splfuncs.c Log Message: Make the splx fast path smaller. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/pic/pic_splfuncs.c

CVS commit: src/usr.bin/make

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 21:14:15 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: document interaction between cmdline and global variables Make prevents global variables from being or becoming visible when a command line

CVS commit: src/usr.bin/make

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 20:45:46 UTC 2021 Modified Files: src/usr.bin/make: Makefile Log Message: make: fix report-coverage On NetBSD 8.0 it still worked. Maybe gcov doesn't support .c files as arguments anymore. Using the .gcda files

CVS commit: src/sys/dev/usb

2021-02-22 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 22 20:45:29 UTC 2021 Modified Files: src/sys/dev/usb: usb.c Log Message: fix formatting and db_usb_command_table[] static. idea from rillig@. To generate a diff of this commit: cvs rdiff -u -r1.189 -r1.190

CVS commit: src/usr.bin/make

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 20:38:55 UTC 2021 Modified Files: src/usr.bin/make: targ.c src/usr.bin/make/unit-tests: cond-func-empty.mk varparse-dynamic.mk Log Message: make: update constant names in comments No functional change. To

CVS commit: src/games/cgram

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 19:34:07 UTC 2021 Modified Files: src/games/cgram: cgram.c Log Message: cgram: fix assertion when substituting at the end of the longest line Reported by Weitian LI via GitHub. Contrary to the patch suggested in [1],

CVS commit: src/games/cgram

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 17:36:42 UTC 2021 Modified Files: src/games/cgram: cgram.c Log Message: cgram: add advanced cursor movement with tab, shift+tab, return To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/games/cgram

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 16:28:20 UTC 2021 Modified Files: src/games/cgram: cgram.c Log Message: cgram: properly handle input errors On both NetBSD and Cygwin, a missing /usr/bin/fortune would previously continue since popen does not return

CVS commit: src

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 15:09:50 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_init.exp d_struct_init_nested.exp msg_175.c msg_175.exp msg_185.c msg_186.c msg_186.exp msg_210.c msg_210.exp msg_221.c

CVS commit: src/usr.bin/xlint/lint1

2021-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 22 15:01:03 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: init.c tree.c Log Message: lint: improve debug message and comment To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88

CVS commit: src/usr.sbin/intrctl

2021-02-22 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Feb 22 11:38:13 UTC 2021 Modified Files: src/usr.sbin/intrctl: intrctl.8 Log Message: Adjust description of compact list view output. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/usr.sbin/intrctl

2021-02-22 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Feb 22 11:33:34 UTC 2021 Modified Files: src/usr.sbin/intrctl: intrctl.c Log Message: In compact view, show the CPUs as a range (0-n) instead of a list (0, 1, 2, ...) when the interrupt is assigned to all CPUs in the

CVS commit: src/sys/arch/sparc64/doc

2021-02-22 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Feb 22 10:30:57 UTC 2021 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update current status of sun4v To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/arch/sparc64/doc/TODO Please

CVS commit: src/sys/arch/sparc64/sparc64

2021-02-22 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Feb 22 09:56:42 UTC 2021 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: handle spill normal user traps properly when current trap level is 1 - registers are spilled to the PA of the stack to avoid

CVS commit: src/sys/arch/aarch64/include

2021-02-22 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Mon Feb 22 09:29:38 UTC 2021 Modified Files: src/sys/arch/aarch64/include: cpu_counter.h Log Message: PR/56002: aarch64 has a true 64bit CPU cycle counter, we will use it. This fix solves PR/56002 on aarch64, but this problems can