CVS commit: [netbsd-9] src/sbin/dump

2020-12-06 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Dec 6 10:31:02 UTC 2020 Modified Files: src/sbin/dump [netbsd-9]: dump.h main.c Log Message: Pull up following revision(s) (requested by kre in ticket #1139): sbin/dump/dump.h: revision 1.59

CVS commit: [netbsd-9] src/doc

2020-12-06 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Dec 6 10:31:48 UTC 2020 Modified Files: src/doc [netbsd-9]: CHANGES-9.2 Log Message: Tickets #1139 and #1141 To generate a diff of this commit: cvs rdiff -u -r1.1.2.16 -r1.1.2.17 src/doc/CHANGES-9.2 Please note that diffs

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 12:54:32 UTC 2020 Modified Files: src/usr.bin/make: Makefile Log Message: make(1): move COPTS above To generate a diff of this commit: cvs rdiff -u -r1.107 -r1.108 src/usr.bin/make/Makefile Please note that diffs

CVS commit: src/sys/dev/i2c

2020-12-06 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Dec 6 10:09:36 UTC 2020 Modified Files: src/sys/dev/i2c: pcf8574.c Log Message: Don't read from the chip when matching, fail the attach instead (requested by jmcneill). Reverts previous. To generate a diff of this commit:

CVS commit: src/sys/dev/acpi

2020-12-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Dec 6 12:23:13 UTC 2020 Modified Files: src/sys/dev/acpi: amdccp_acpi.c atppc_acpi.c fdc_acpi.c lpt_acpi.c mpu_acpi.c pckbc_acpi.c spic_acpi.c wb_acpi.c Log Message: acpi: Use acpi_intr_establish to install

CVS commit: [netbsd-8] src/doc

2020-12-06 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Dec 6 10:28:28 UTC 2020 Modified Files: src/doc [netbsd-8]: CHANGES-8.3 Log Message: Ticket #1627 To generate a diff of this commit: cvs rdiff -u -r1.1.2.52 -r1.1.2.53 src/doc/CHANGES-8.3 Please note that diffs are not

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

2020-12-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Dec 6 12:40:58 UTC 2020 Modified Files: src/sys/arch/arm/acpi: acpipchb.c Log Message: Style fixes. NFC. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/arch/arm/acpi/acpipchb.c Please note that

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 13:51:06 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): extract FreeEnvVar from Var_Parse To generate a diff of this commit: cvs rdiff -u -r1.708 -r1.709 src/usr.bin/make/var.c Please note

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 14:20:20 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): move type definitions in var.c to the top To generate a diff of this commit: cvs rdiff -u -r1.709 -r1.710 src/usr.bin/make/var.c Please

CVS commit: src/share/mk

2020-12-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Dec 6 14:28:34 UTC 2020 Modified Files: src/share/mk: bsd.own.mk Log Message: Move everyone to gdb-11 To generate a diff of this commit: cvs rdiff -u -r1.1234 -r1.1235 src/share/mk/bsd.own.mk Please note that diffs are

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

2020-12-06 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Dec 6 09:03:29 UTC 2020 Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: Fix build after interval timers refectoring by thorpej@ To generate a diff of this commit: cvs rdiff -u -r1.350 -r1.351

CVS commit: src/sys/kern

2020-12-06 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Dec 6 13:45:58 UTC 2020 Modified Files: src/sys/kern: kern_time.c Log Message: Fix an uninitialized pointer deref introduced in rev 1.207. Reported-by: syzbot+6d69101d5f2fd954c...@syzkaller.appspotmail.com To generate a

CVS commit: src/external/gpl3/gdb

2020-12-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Dec 6 14:26:41 UTC 2020 Modified Files: src/external/gpl3/gdb/dist/gdb: ppc-nbsd-tdep.c src/external/gpl3/gdb/lib/libbfd/arch/powerpc: bfd_stdint.h targmatch.h

CVS commit: [netbsd-9] xsrc/external/mit/xorg-server/dist/xkb

2020-12-06 Thread Martin Husemann
Module Name:xsrc Committed By: martin Date: Sun Dec 6 10:18:02 UTC 2020 Modified Files: xsrc/external/mit/xorg-server/dist/xkb [netbsd-9]: xkb.c Log Message: Apply patch, requested by mrg in ticket #1141: external/mit/xorg-server/dist/xkb/xkb.c apply

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 10:33:42 UTC 2020 Modified Files: src/usr.bin/make: make.h Log Message: make(1): clean up macros for debug logging Using a do-while loop prevents compiler warnings about possible dangling else. It also removes the

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 10:49:02 UTC 2020 Modified Files: src/usr.bin/make: dir.c suff.c targ.c var.c Log Message: make(1): inline macros for debug logging No changes to the resulting binary, except for the line numbers in assertions. To

CVS commit: src/sys/dev/acpi

2020-12-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Dec 6 11:38:28 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_quirks.c acpivar.h Log Message: acpi: remove unused acpi_quirks_osi_* functions To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 11:00:56 UTC 2020 Modified Files: src/usr.bin/make: buf.h Log Message: make(1): indent buf.h with tabs instead of spaces To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/usr.bin/make/buf.h Please

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

2020-12-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Dec 6 14:01:40 UTC 2020 Modified Files: src/sys/arch/arm/acpi: acpi_platform.c Log Message: acpi: Cleanup SPCR setup and style fixes. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: [netbsd-8] xsrc/external/mit/xorg-server/dist/xkb

2020-12-06 Thread Martin Husemann
Module Name:xsrc Committed By: martin Date: Sun Dec 6 10:24:47 UTC 2020 Modified Files: xsrc/external/mit/xorg-server/dist/xkb [netbsd-8]: xkb.c Log Message: Apply patch, requested by mrg in ticket #1627: external/mit/xorg-server/dist/xkb/xkb.c apply

CVS commit: src/games/battlestar

2020-12-06 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Dec 6 11:35:27 UTC 2020 Modified Files: src/games/battlestar: globals.c Log Message: speed limit 80 To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/games/battlestar/globals.c Please note that diffs are

CVS commit: src/sys/dev/acpi

2020-12-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Dec 6 12:47:12 UTC 2020 Modified Files: src/sys/dev/acpi: acpi_mcfg.c Log Message: Fix typo in comment To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/dev/acpi/acpi_mcfg.c Please note that diffs

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 13:29:34 UTC 2020 Modified Files: src/usr.bin/make: Makefile Log Message: make(1): move .include lines as far down as possible To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109 src/usr.bin/make/Makefile

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

2020-12-06 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Dec 6 10:06:15 UTC 2020 Modified Files: src/sys/arch/sparc64/dev: pcf8591_envctrl.c Log Message: Don't read from the chip when matching, fail the attach instead (requested by jmcneill). Reverts previous. While here, handle

CVS commit: src/games/backgammon/common_source

2020-12-06 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Dec 6 11:41:47 UTC 2020 Modified Files: src/games/backgammon/common_source: back.h Log Message: speed limit 80 To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/games/backgammon/common_source/back.h

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 17:22:45 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): extract GetVarnamesToUnexport from Var_UnExport To generate a diff of this commit: cvs rdiff -u -r1.713 -r1.714 src/usr.bin/make/var.c

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

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 17:29:27 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: directive-unexport-env.mk Log Message: make(1): fix comment in test for directive unexport-env To generate a diff of this commit: cvs rdiff -u -r1.4

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 20:33:44 UTC 2020 Modified Files: src/usr.bin/make: parse.c src/usr.bin/make/unit-tests: opt-file.exp opt-file.mk Log Message: make(1): error out on null bytes in makefiles Makefiles are text files, they must

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

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 22:36:58 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: deptgt-end-fail.exp deptgt-end-fail.mk Log Message: make(1): test all combinations of failed main and .END targets Adding an individual test for each of

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 22:49:40 UTC 2020 Modified Files: src/usr.bin/make: compat.c Log Message: make(1): refactor error handling in Compat_Run This is in preparation for the upcoming bug fixes. To generate a diff of this commit: cvs

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 23:02:56 UTC 2020 Modified Files: src/usr.bin/make: compat.c Log Message: make(1): refactor Compat_Run to show the error condition more clearly This refactoring allows to gradually change the conditions for the

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 15:40:46 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): use FStr in Var_UnExport To generate a diff of this commit: cvs rdiff -u -r1.711 -r1.712 src/usr.bin/make/var.c Please note that diffs

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

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 16:06:11 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: directive-unexport-env.exp directive-unexport-env.mk Log Message: make(1): add test for directive unexport-env To generate a diff of this

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 18:37:04 UTC 2020 Modified Files: src/usr.bin/make: parse.c Log Message: make(1): fix undefined behavior in ParseEOF Adding a number to a null pointer should have been caught by any Undefined Behavior Sanitizer, but

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

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 19:00:48 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: opt-file.exp opt-file.mk Log Message: make(1): test parsing a makefile that ends in a backslash To generate a diff of this commit: cvs rdiff -u -r1.1

CVS commit: src/external/gpl3/gdb/bin

2020-12-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Dec 6 15:00:25 UTC 2020 Modified Files: src/external/gpl3/gdb/bin: Makefile Log Message: Don't descend to gdbserver for now To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gdb/bin/Makefile

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 16:24:30 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): replace pointer comparisons with enum Keeping track of what it means if varname.str == str is not as expressive as declaring what exactly

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

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 20:07:26 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: opt-file.mk Log Message: make(1): document how make behaved for null bytes in the makefile To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

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

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 20:55:30 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: opt-file.mk Log Message: make(1): document undefined behavior from 2014 Earlier versions of make didn't know the -v option to print the expanded value of

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 17:35:52 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): extract UnexportVars from Var_UnExport To generate a diff of this commit: cvs rdiff -u -r1.715 -r1.716 src/usr.bin/make/var.c Please

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 20:09:01 UTC 2020 Modified Files: src/usr.bin/make: nonints.h parse.c Log Message: make(1): rename IFile.nextbuf to readMore The previous name sounded too much like a noun, which was too confusing. See

CVS commit: src

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 21:22:04 UTC 2020 Modified Files: src/distrib/sets/lists/tests: mi src/usr.bin/make/unit-tests: Makefile deptgt-end-fail-indirect.mk deptgt-end-fail.exp deptgt-end-fail.mk Added Files:

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 17:41:53 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): move CleanEnv to UnexportVars It clearly didn't belong in the GetVarnamesToUnexport part of the code. To generate a diff of this

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

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 19:18:27 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: opt-file.exp opt-file.mk Log Message: make(1): add test for makefile containing null bytes To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 14:50:09 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): add FStr to var.c to make memory handling simpler The pattern of having a variable and a corresponding freeIt variable appears over and

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 17:27:11 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): clean up GetVarnamesToUnexport To generate a diff of this commit: cvs rdiff -u -r1.714 -r1.715 src/usr.bin/make/var.c Please note that

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 6 18:13:17 UTC 2020 Modified Files: src/usr.bin/make: arch.c dir.c job.c make.c var.c Log Message: make(1): remove comment decoration To generate a diff of this commit: cvs rdiff -u -r1.186 -r1.187

CVS commit: src/usr.sbin/acpitools/acpidump

2020-12-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Dec 6 18:38:58 UTC 2020 Modified Files: src/usr.sbin/acpitools/acpidump: acpi.c Log Message: acpidump: Do not print FACS if HW_REDUCED flag is set. According to ACPI 6.3 spec, FACS is optional when HW_REDUCED is set.

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 7 01:35:33 UTC 2020 Modified Files: src/usr.bin/make: compat.c src/usr.bin/make/unit-tests: opt-keep-going-multiple.exp opt.exp Log Message: make(1): fix wrong exit status for multiple failed main targets To

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 7 01:24:41 UTC 2020 Modified Files: src/usr.bin/make: suff.c Log Message: make(1): fix use-after-free in -DDEBUG_SRC mode (since 2020-11-22) To generate a diff of this commit: cvs rdiff -u -r1.327 -r1.328

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 7 00:53:30 UTC 2020 Modified Files: src/usr.bin/make: compat.c src/usr.bin/make/unit-tests: dep-percent.exp deptgt-end-fail.exp deptgt-end-fail.mk opt-debug-errors.exp opt-file.exp

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 7 01:07:13 UTC 2020 Modified Files: src/usr.bin/make: compat.c Log Message: make(1): clean up Compat_Run Now that errors in the main targets and in their dependencies have the same effect on the .END node and its

CVS commit: src/sys/kern

2020-12-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Dec 7 03:01:15 UTC 2020 Modified Files: src/sys/kern: kern_time.c Log Message: fix the build; gcc does not always see that it can't happen. To generate a diff of this commit: cvs rdiff -u -r1.208 -r1.209

CVS commit: src/distrib/sets/lists/tests

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 7 07:51:25 UTC 2020 Modified Files: src/distrib/sets/lists/tests: mi Log Message: make(1): add new unit test opt-keep-going-multiple.mk to file lists To generate a diff of this commit: cvs rdiff -u -r1.983 -r1.984

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 7 01:10:03 UTC 2020 Modified Files: src/usr.bin/make: compat.c Log Message: make(1): merge local variables in Compat_Run To generate a diff of this commit: cvs rdiff -u -r1.201 -r1.202 src/usr.bin/make/compat.c Please

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 7 01:27:08 UTC 2020 Modified Files: src/usr.bin/make: suff.c Log Message: make(1): actually fix the use-after-free bug and the double-free The use-after-free bug had been there since 2020-11-22, the double-free bug

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 7 01:04:07 UTC 2020 Modified Files: src/usr.bin/make: compat.c src/usr.bin/make/unit-tests: deptgt-end-fail-all.exp deptgt-end-fail-all.mk deptgt-end-fail.exp deptgt-end-fail.mk Log Message: make(1):

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 7 01:32:05 UTC 2020 Modified Files: src/usr.bin/make: compat.c src/usr.bin/make/unit-tests: Makefile Added Files: src/usr.bin/make/unit-tests: opt-keep-going-multiple.exp

CVS commit: src/usr.bin/make

2020-12-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 7 01:50:19 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): rename Var_Export1 to ExportVar Since Var_Export1 is neither exported by the module nor does it belong to the Var type, the previous