CVS commit: src/share/misc

2020-08-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 2 01:36:46 UTC 2020 Modified Files: src/share/misc: style Log Message: Remove confusing advice about macros that might expand to nothing. Such macros should not exist; as advised earlier in the file, they should

CVS commit: src/share/misc

2020-08-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 2 01:36:46 UTC 2020 Modified Files: src/share/misc: style Log Message: Remove confusing advice about macros that might expand to nothing. Such macros should not exist; as advised earlier in the file, they should

CVS commit: src/share/misc

2020-08-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 2 01:35:07 UTC 2020 Modified Files: src/share/misc: style Log Message: Update style around single-line braces according to discussion. https://mail-index.netbsd.org/tech-userlevel/2020/07/12/msg012536.html

CVS commit: src/share/misc

2020-08-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 2 01:35:07 UTC 2020 Modified Files: src/share/misc: style Log Message: Update style around single-line braces according to discussion. https://mail-index.netbsd.org/tech-userlevel/2020/07/12/msg012536.html

CVS commit: src/sys/dev

2020-08-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 2 01:17:57 UTC 2020 Modified Files: src/sys/dev: ld.c ldvar.h src/sys/dev/sdmmc: ld_sdmmc.c Log Message: Remove unnecessary wait in ldbegindetach. Like disk_begindetach, ldbegindetach only commits to

CVS commit: src/sys/dev

2020-08-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 2 01:17:57 UTC 2020 Modified Files: src/sys/dev: ld.c ldvar.h src/sys/dev/sdmmc: ld_sdmmc.c Log Message: Remove unnecessary wait in ldbegindetach. Like disk_begindetach, ldbegindetach only commits to

Re: CVS commit: src/sys/arch/x86

2020-08-01 Thread Taylor R Campbell
> Module Name:src > Committed By: jdolecek > Date: Sat Aug 1 12:36:36 UTC 2020 > > Modified Files: > src/sys/arch/x86/pci: pci_intr_machdep.c > src/sys/arch/x86/x86: mainbus.c > > Log Message: > reorder includes to pull __HAVE_PCI_MSI_MSIX properly via > If

Re: CVS commit: src/share/misc

2020-08-01 Thread Luke Mewburn
On 20-08-01 23:07, Taylor R Campbell wrote: | Index: share/misc/style | === | RCS file: /cvsroot/src/share/misc/style,v | retrieving revision 1.56 | diff -p -p -u -r1.56 style | --- share/misc/style1 Aug 2020

CVS commit: src/share/misc

2020-08-01 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sun Aug 2 00:20:22 UTC 2020 Modified Files: src/share/misc: style Log Message: style: revert previous I misintepreted the consensus. To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/share/misc/style Please

Re: CVS commit: src/share/misc

2020-08-01 Thread Luke Mewburn
On 20-08-01 23:07, Taylor R Campbell wrote: | > Module Name:src | > Committed By: lukem | > Date: Sat Aug 1 02:45:36 UTC 2020 | > | > Modified Files: | > src/share/misc: style | > | > Log Message: | > style: prefer braces for single statement control

CVS commit: src/share/misc

2020-08-01 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sun Aug 2 00:20:22 UTC 2020 Modified Files: src/share/misc: style Log Message: style: revert previous I misintepreted the consensus. To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/share/misc/style Please

Re: CVS commit: src/sys/kern

2020-08-01 Thread Taylor R Campbell
> Module Name:src > Committed By: jdolecek > Date: Sat Aug 1 11:18:26 UTC 2020 > > Modified Files: > src/sys/kern: subr_autoconf.c > > Log Message: > avoid VLA for the sizeof() calculations Why?

Re: CVS commit: src/share/misc

2020-08-01 Thread Taylor R Campbell
> Module Name:src > Committed By: lukem > Date: Sat Aug 1 02:45:36 UTC 2020 > > Modified Files: > src/share/misc: style > > Log Message: > style: prefer braces for single statement control statements > > Prefer to use { braces } around single statements after > control

CVS commit: src/sys/rump/librump/rumpkern

2020-08-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 1 22:30:57 UTC 2020 Modified Files: src/sys/rump/librump/rumpkern: threads.c Log Message: Define kthread_fpu_enter/exit for rump. XXX Not 100% sure that it's safe to touch curlwp->l_flag in this context, but this

CVS commit: src/sys/rump/librump/rumpkern

2020-08-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 1 22:30:57 UTC 2020 Modified Files: src/sys/rump/librump/rumpkern: threads.c Log Message: Define kthread_fpu_enter/exit for rump. XXX Not 100% sure that it's safe to touch curlwp->l_flag in this context, but this

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 21:51:22 UTC 2020 Modified Files: src/usr.bin/make: buf.c Log Message: make(1): remove redundant if clause from Buf_DestroyCompact bmake_realloc can never return NULL. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 21:51:22 UTC 2020 Modified Files: src/usr.bin/make: buf.c Log Message: make(1): remove redundant if clause from Buf_DestroyCompact bmake_realloc can never return NULL. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 21:48:17 UTC 2020 Modified Files: src/usr.bin/make: Makefile Log Message: make(1): remove line numbers from generated code coverage files The line numbers make it difficult to spot changes in the code and coverage if

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 21:48:17 UTC 2020 Modified Files: src/usr.bin/make: Makefile Log Message: make(1): remove line numbers from generated code coverage files The line numbers make it difficult to spot changes in the code and coverage if

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 21:40:50 UTC 2020 Modified Files: src/usr.bin/make: buf.c buf.h cond.c for.c main.c var.c Log Message: make(1): switch Buffer size from int to size_t This change helps to make the various integer types compatible and

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 21:40:50 UTC 2020 Modified Files: src/usr.bin/make: buf.c buf.h cond.c for.c main.c var.c Log Message: make(1): switch Buffer size from int to size_t This change helps to make the various integer types compatible and

CVS commit: src/sys/arch/sh3/sh3

2020-08-01 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sat Aug 1 20:54:23 UTC 2020 Modified Files: src/sys/arch/sh3/sh3: pmap.c Log Message: pmap_unwire - deobfuscate. Don't hide assignments inside if (). Remove redundant entry == 0 test b/c _PG_WIRED test afterwards covers that and

CVS commit: src/sys/arch/sh3/sh3

2020-08-01 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sat Aug 1 20:54:23 UTC 2020 Modified Files: src/sys/arch/sh3/sh3: pmap.c Log Message: pmap_unwire - deobfuscate. Don't hide assignments inside if (). Remove redundant entry == 0 test b/c _PG_WIRED test afterwards covers that and

CVS commit: xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k

2020-08-01 Thread Izumi Tsutsui
Module Name:xsrc Committed By: tsutsui Date: Sat Aug 1 20:21:00 UTC 2020 Modified Files: xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k: x68kGraph.c x68kKbd.c x68kMouse.c Log Message: Replace 'pointer' type with 'void *' to sync with upstream manner.

CVS commit: xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k

2020-08-01 Thread Izumi Tsutsui
Module Name:xsrc Committed By: tsutsui Date: Sat Aug 1 20:21:00 UTC 2020 Modified Files: xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k: x68kGraph.c x68kKbd.c x68kMouse.c Log Message: Replace 'pointer' type with 'void *' to sync with upstream manner.

CVS commit: xsrc/external/mit

2020-08-01 Thread Izumi Tsutsui
Module Name:xsrc Committed By: tsutsui Date: Sat Aug 1 20:09:03 UTC 2020 Modified Files: xsrc/external/mit/xorg-server.old/dist/hw/netbsd/x68k: X68k.man x68kConfig.c x68kFb.c x68kGraph.c x68kInit.c x68kIo.c x68kKbd.c x68kKeyMap.c x68kMouse.c

CVS commit: xsrc/external/mit

2020-08-01 Thread Izumi Tsutsui
Module Name:xsrc Committed By: tsutsui Date: Sat Aug 1 20:09:03 UTC 2020 Modified Files: xsrc/external/mit/xorg-server.old/dist/hw/netbsd/x68k: X68k.man x68kConfig.c x68kFb.c x68kGraph.c x68kInit.c x68kIo.c x68kKbd.c x68kKeyMap.c x68kMouse.c

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 19:19:06 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): start nesting level in ApplyModifier_Match at 0 There is no need to start at 1, and starting at 0 generates smaller code on x86_64.

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 19:19:06 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): start nesting level in ApplyModifier_Match at 0 There is no need to start at 1, and starting at 0 generates smaller code on x86_64.

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

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 18:59:17 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: modmatch.mk Log Message: make(1): add test for inconsistent interpretation of :M and :N modifiers To generate a diff of this commit: cvs rdiff -u -r1.6

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

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 18:59:17 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: modmatch.mk Log Message: make(1): add test for inconsistent interpretation of :M and :N modifiers To generate a diff of this commit: cvs rdiff -u -r1.6

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 18:36:49 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): inline and untangle the code for the :range modifier There's no need to keep the result from brk_string in memory until the buffer has

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 18:36:49 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): inline and untangle the code for the :range modifier There's no need to keep the result from brk_string in memory until the buffer has

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 18:14:09 UTC 2020 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: Makefile modmisc.exp Log Message: make(1): fix error message when regcomp fails If regcomp fails, it's not the regex

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 18:14:09 UTC 2020 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: Makefile modmisc.exp Log Message: make(1): fix error message when regcomp fails If regcomp fails, it's not the regex

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 18:02:37 UTC 2020 Modified Files: src/usr.bin/make: cond.c make.h nonints.h var.c Log Message: make(1): use enum for return values of Cond_Eval and friends To generate a diff of this commit: cvs rdiff -u -r1.85

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 18:02:37 UTC 2020 Modified Files: src/usr.bin/make: cond.c make.h nonints.h var.c Log Message: make(1): use enum for return values of Cond_Eval and friends To generate a diff of this commit: cvs rdiff -u -r1.85

CVS commit: src/bin/sh

2020-08-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Aug 1 17:56:56 UTC 2020 Modified Files: src/bin/sh: expand.c Log Message: Remove a redundant set of parentheses that were added (along with a extra && or || or something ... forgotten now) as part a failed attempt to fix an

CVS commit: src/bin/sh

2020-08-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Aug 1 17:56:56 UTC 2020 Modified Files: src/bin/sh: expand.c Log Message: Remove a redundant set of parentheses that were added (along with a extra && or || or something ... forgotten now) as part a failed attempt to fix an

CVS commit: src/usr.bin/w

2020-08-01 Thread Kimmo Suominen
Module Name:src Committed By: kim Date: Sat Aug 1 17:53:38 UTC 2020 Modified Files: src/usr.bin/w: w.c Log Message: Skip bracket processing if -n is used. XXX: This could be improved to skip even more processing. To generate a diff of this commit: cvs rdiff -u -r1.89

CVS commit: src/usr.bin/w

2020-08-01 Thread Kimmo Suominen
Module Name:src Committed By: kim Date: Sat Aug 1 17:53:38 UTC 2020 Modified Files: src/usr.bin/w: w.c Log Message: Skip bracket processing if -n is used. XXX: This could be improved to skip even more processing. To generate a diff of this commit: cvs rdiff -u -r1.89

CVS commit: src/bin/sh

2020-08-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Aug 1 17:51:18 UTC 2020 Modified Files: src/bin/sh: exec.c Log Message: PR bin/55526 Fix a bug that has existed since the "command" command was added in 2003. "command foo" would cause the definition of a function "foo" to

CVS commit: src/bin/sh

2020-08-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Aug 1 17:51:18 UTC 2020 Modified Files: src/bin/sh: exec.c Log Message: PR bin/55526 Fix a bug that has existed since the "command" command was added in 2003. "command foo" would cause the definition of a function "foo" to

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 17:45:32 UTC 2020 Modified Files: src/usr.bin/make: main.c Log Message: make(1): fix parameter name in Cmd_Exec A format string is not a number. To generate a diff of this commit: cvs rdiff -u -r1.292 -r1.293

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 17:45:32 UTC 2020 Modified Files: src/usr.bin/make: main.c Log Message: make(1): fix parameter name in Cmd_Exec A format string is not a number. To generate a diff of this commit: cvs rdiff -u -r1.292 -r1.293

CVS commit: src/usr.bin/script

2020-08-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 1 17:31:06 UTC 2020 Modified Files: src/usr.bin/script: script.c Log Message: PR/55529: Soumendra Ganguly: configure the terminal in raw mode during playback so that output postprocessing is not done and playback of

CVS commit: src/usr.bin/script

2020-08-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 1 17:31:06 UTC 2020 Modified Files: src/usr.bin/script: script.c Log Message: PR/55529: Soumendra Ganguly: configure the terminal in raw mode during playback so that output postprocessing is not done and playback of

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 17:29:00 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): fix documentation, use safer fallback value The variable res is overwritten in every case, but better be safe than sorry. In case of

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 17:29:00 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): fix documentation, use safer fallback value The variable res is overwritten in every case, but better be safe than sorry. In case of

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

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 17:26:41 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: modmisc.mk Log Message: make(1): add test for empty indirect modifier To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

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

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 17:26:41 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: modmisc.mk Log Message: make(1): add test for empty indirect modifier To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

CVS commit: src/usr.bin/w

2020-08-01 Thread Kimmo Suominen
Module Name:src Committed By: kim Date: Sat Aug 1 17:25:57 UTC 2020 Modified Files: src/usr.bin/w: w.c Log Message: Restore ']' if not using a result from an address lookup. To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/usr.bin/w/w.c Please note

CVS commit: src/usr.bin/w

2020-08-01 Thread Kimmo Suominen
Module Name:src Committed By: kim Date: Sat Aug 1 17:25:57 UTC 2020 Modified Files: src/usr.bin/w: w.c Log Message: Restore ']' if not using a result from an address lookup. To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/usr.bin/w/w.c Please note

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

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 17:20:42 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: modmisc.exp modmisc.mk Log Message: make(1): add tests for indirect modifiers To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34

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

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 17:20:42 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: modmisc.exp modmisc.mk Log Message: make(1): add tests for indirect modifiers To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 16:27:03 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): make ModifyWords simpler There is no need to test whether an actual word has been added. The rule is simply "add a space before every

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 16:27:03 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): make ModifyWords simpler There is no need to test whether an actual word has been added. The rule is simply "add a space before every

CVS commit: src/usr.bin/w

2020-08-01 Thread Kimmo Suominen
Module Name:src Committed By: kim Date: Sat Aug 1 15:52:50 UTC 2020 Modified Files: src/usr.bin/w: w.c Log Message: Handle hostname from DISPLAY="[2001:db8::dead:beef]:0" or similar. To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/usr.bin/w/w.c

CVS commit: src/usr.bin/w

2020-08-01 Thread Kimmo Suominen
Module Name:src Committed By: kim Date: Sat Aug 1 15:52:50 UTC 2020 Modified Files: src/usr.bin/w: w.c Log Message: Handle hostname from DISPLAY="[2001:db8::dead:beef]:0" or similar. To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/usr.bin/w/w.c

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

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 15:28:28 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: Makefile varmod-edge.exp varmod-edge.mk Log Message: make(1): improve output grouping in varmod-edge test The generated error messages are now closer to

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

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 15:28:28 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: Makefile varmod-edge.exp varmod-edge.mk Log Message: make(1): improve output grouping in varmod-edge test The generated error messages are now closer to

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

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 15:16:15 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: varmod-edge.exp varmod-edge.mk Log Message: make(1): add test for ${VAR} It's a bit unrealistic, but at least there are good diagnostics. To

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

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 15:16:15 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: varmod-edge.exp varmod-edge.mk Log Message: make(1): add test for ${VAR} It's a bit unrealistic, but at least there are good diagnostics. To

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

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 15:13:45 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: varmod-edge.exp varmod-edge.mk Log Message: make(1): add test for empty modifier list after colon This is a good candidate for becoming an error in strict

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

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 15:13:45 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: varmod-edge.exp varmod-edge.mk Log Message: make(1): add test for empty modifier list after colon This is a good candidate for becoming an error in strict

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 15:03:43 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): inline literal dollar characters This reduces the code size when compiling with GCC 5. Apparently GCC wasn't sure enough that str[0] and

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 15:03:43 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): inline literal dollar characters This reduces the code size when compiling with GCC 5. Apparently GCC wasn't sure enough that str[0] and

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 14:52:14 UTC 2020 Modified Files: src/usr.bin/make: main.c Log Message: make(1): use ordinary string concatenation in usage text To generate a diff of this commit: cvs rdiff -u -r1.291 -r1.292 src/usr.bin/make/main.c

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 14:52:14 UTC 2020 Modified Files: src/usr.bin/make: main.c Log Message: make(1): use ordinary string concatenation in usage text To generate a diff of this commit: cvs rdiff -u -r1.291 -r1.292 src/usr.bin/make/main.c

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 14:47:49 UTC 2020 Modified Files: src/usr.bin/make: arch.c compat.c cond.c dir.c for.c hash.c hash.h job.c lst.c main.c make_malloc.h parse.c suff.c util.c var.c Log Message: make(1): use consistent

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 14:47:49 UTC 2020 Modified Files: src/usr.bin/make: arch.c compat.c cond.c dir.c for.c hash.c hash.h job.c lst.c main.c make_malloc.h parse.c suff.c util.c var.c Log Message: make(1): use consistent

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 13:51:41 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): inline function in SysV modifier processing To generate a diff of this commit: cvs rdiff -u -r1.378 -r1.379 src/usr.bin/make/var.c

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 13:51:41 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): inline function in SysV modifier processing To generate a diff of this commit: cvs rdiff -u -r1.378 -r1.379 src/usr.bin/make/var.c

CVS commit: xsrc/external/mit/xorg-server.old/dist/hw/sun

2020-08-01 Thread Izumi Tsutsui
Module Name:xsrc Committed By: tsutsui Date: Sat Aug 1 13:40:55 UTC 2020 Modified Files: xsrc/external/mit/xorg-server.old/dist/hw/sun: sun.h sunCfb.c sunFbs.c sunInit.c sunKbd.c sunKeyMap.c Log Message: Cherry-pick non-Xorg-1.20-specific fixes from

CVS commit: xsrc/external/mit/xorg-server.old/dist/hw/sun

2020-08-01 Thread Izumi Tsutsui
Module Name:xsrc Committed By: tsutsui Date: Sat Aug 1 13:40:55 UTC 2020 Modified Files: xsrc/external/mit/xorg-server.old/dist/hw/sun: sun.h sunCfb.c sunFbs.c sunInit.c sunKbd.c sunKeyMap.c Log Message: Cherry-pick non-Xorg-1.20-specific fixes from

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 13:35:13 UTC 2020 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: sysv.mk Log Message: make(1): reduce the number of string comparisons in ${VAR:%.c=%.o} There is only a single position in

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 13:35:13 UTC 2020 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: sysv.mk Log Message: make(1): reduce the number of string comparisons in ${VAR:%.c=%.o} There is only a single position in

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 13:16:29 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): make variable names in SysV modifier more expressive When matching a word against a substitution having a lhs and a rhs, including a

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 13:16:29 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): make variable names in SysV modifier more expressive When matching a word against a substitution having a lhs and a rhs, including a

CVS commit: xsrc/external/mit/xorg-server/dist/hw/sun

2020-08-01 Thread Izumi Tsutsui
Module Name:xsrc Committed By: tsutsui Date: Sat Aug 1 13:15:57 UTC 2020 Modified Files: xsrc/external/mit/xorg-server/dist/hw/sun: sunKbd.c Log Message: Trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: xsrc/external/mit/xorg-server/dist/hw/sun

2020-08-01 Thread Izumi Tsutsui
Module Name:xsrc Committed By: tsutsui Date: Sat Aug 1 13:15:57 UTC 2020 Modified Files: xsrc/external/mit/xorg-server/dist/hw/sun: sunKbd.c Log Message: Trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

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

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 12:47:56 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: sysv.mk Log Message: make(1): fix typo in newly added SysV modifier test case I should have been more suspicious when all my test cases succeeded at the

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

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 12:47:56 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: sysv.mk Log Message: make(1): fix typo in newly added SysV modifier test case I should have been more suspicious when all my test cases succeeded at the

CVS commit: src/sys/arch/xen/x86

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 12:39:40 UTC 2020 Modified Files: src/sys/arch/xen/x86: pintr.c xen_intr.c Log Message: adjust includes to pull __HAVE_PCI_MSI_MSIX properly To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/sys/arch/xen/x86

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 12:39:40 UTC 2020 Modified Files: src/sys/arch/xen/x86: pintr.c xen_intr.c Log Message: adjust includes to pull __HAVE_PCI_MSI_MSIX properly To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/sys/arch/x86

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 12:36:36 UTC 2020 Modified Files: src/sys/arch/x86/pci: pci_intr_machdep.c src/sys/arch/x86/x86: mainbus.c Log Message: reorder includes to pull __HAVE_PCI_MSI_MSIX properly via To generate a diff of this

CVS commit: src/sys/arch/x86

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 12:36:36 UTC 2020 Modified Files: src/sys/arch/x86/pci: pci_intr_machdep.c src/sys/arch/x86/x86: mainbus.c Log Message: reorder includes to pull __HAVE_PCI_MSI_MSIX properly via To generate a diff of this

CVS commit: src/sys/arch/amd64/conf

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 12:28:19 UTC 2020 Modified Files: src/sys/arch/amd64/conf: ALL Log Message: remove CISS_NO_INTERRUPT_HACK from ALL kernel config too, it's no longer supported in ciss(4) To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/amd64/conf

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 12:28:19 UTC 2020 Modified Files: src/sys/arch/amd64/conf: ALL Log Message: remove CISS_NO_INTERRUPT_HACK from ALL kernel config too, it's no longer supported in ciss(4) To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/x86/conf

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 12:15:40 UTC 2020 Modified Files: src/sys/arch/x86/conf: files.x86 Log Message: defflag NO_PCI_MSI_MSIX To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/sys/arch/x86/conf/files.x86 Please note

CVS commit: src/sys/arch/x86/conf

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 12:15:40 UTC 2020 Modified Files: src/sys/arch/x86/conf: files.x86 Log Message: defflag NO_PCI_MSI_MSIX To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/sys/arch/x86/conf/files.x86 Please note

CVS commit: src/sys/arch

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 12:14:40 UTC 2020 Modified Files: src/sys/arch/amd64/include: types.h src/sys/arch/i386/include: types.h src/sys/arch/x86/include: pci_machdep_common.h Log Message: move __HAVE_PCI_MSI_MSIX to To

CVS commit: src/sys/arch

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 12:14:40 UTC 2020 Modified Files: src/sys/arch/amd64/include: types.h src/sys/arch/i386/include: types.h src/sys/arch/x86/include: pci_machdep_common.h Log Message: move __HAVE_PCI_MSI_MSIX to To

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 12:04:46 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): more descriptive variable names in Str_SYSVSubst To generate a diff of this commit: cvs rdiff -u -r1.375 -r1.376 src/usr.bin/make/var.c

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 12:04:46 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): more descriptive variable names in Str_SYSVSubst To generate a diff of this commit: cvs rdiff -u -r1.375 -r1.376 src/usr.bin/make/var.c

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

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 12:04:00 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: sysv.mk Log Message: make(1): add more tests for the SysV modifier To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

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

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 12:04:00 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: sysv.mk Log Message: make(1): add more tests for the SysV modifier To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/sys/kern

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 11:18:26 UTC 2020 Modified Files: src/sys/kern: subr_autoconf.c Log Message: avoid VLA for the sizeof() calculations To generate a diff of this commit: cvs rdiff -u -r1.272 -r1.273 src/sys/kern/subr_autoconf.c

CVS commit: src/sys/kern

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 11:18:26 UTC 2020 Modified Files: src/sys/kern: subr_autoconf.c Log Message: avoid VLA for the sizeof() calculations To generate a diff of this commit: cvs rdiff -u -r1.272 -r1.273 src/sys/kern/subr_autoconf.c

CVS commit: src/usr.bin/make

2020-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 1 10:44:23 UTC 2020 Modified Files: src/usr.bin/make: str.c Log Message: make(1): reduce scope of local variables in brk_string This also removes the unused assignment to words_cap. To generate a diff of this commit:

  1   2   >