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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 13:30:04 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: expr_sizeof.c Log Message: tests/lint: add more tests for sizeof To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 13:30:04 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: expr_sizeof.c Log Message: tests/lint: add more tests for sizeof To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 14:00:09 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: queries.c Log Message: tests/lint: document conversion from void pointer To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 14:43:39 UTC 2023 Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: lint: rename local functions to be more readable No functional change. To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 14:43:39 UTC 2023 Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: lint: rename local functions to be more readable No functional change. To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98

CVS commit: src/etc/etc.next68k

2023-01-15 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sun Jan 15 16:45:32 UTC 2023 Modified Files: src/etc/etc.next68k: MAKEDEV.conf Log Message: Remove obsolete bpf entries not neceerary for clonified bpf(4). Fixes "MAKEDEV: bpf8: unknown device" errors. To generate a diff of

CVS commit: src/etc/etc.next68k

2023-01-15 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sun Jan 15 16:45:32 UTC 2023 Modified Files: src/etc/etc.next68k: MAKEDEV.conf Log Message: Remove obsolete bpf entries not neceerary for clonified bpf(4). Fixes "MAKEDEV: bpf8: unknown device" errors. To generate a diff of

CVS commit: src/share/mk

2023-01-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Jan 15 10:51:04 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: Really switch aarch64 and sparc binutils to 2.39 To generate a diff of this commit: cvs rdiff -u -r1.1293 -r1.1294 src/share/mk/bsd.own.mk

CVS commit: src/share/mk

2023-01-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Jan 15 10:51:04 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: Really switch aarch64 and sparc binutils to 2.39 To generate a diff of this commit: cvs rdiff -u -r1.1293 -r1.1294 src/share/mk/bsd.own.mk

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 15:20:18 UTC 2023 Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: lint: turn O(n^2) to O(n) for list of arguments to lint child processes Previously, adding an argument to the lint child processes (cpp,

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 15:20:18 UTC 2023 Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: lint: turn O(n^2) to O(n) for list of arguments to lint child processes Previously, adding an argument to the lint child processes (cpp,

CVS commit: src/share/mk

2023-01-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Jan 15 10:54:56 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: Sort in the binutils version selection To generate a diff of this commit: cvs rdiff -u -r1.1294 -r1.1295 src/share/mk/bsd.own.mk Please note

CVS commit: src/share/mk

2023-01-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Jan 15 10:54:56 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: Sort in the binutils version selection To generate a diff of this commit: cvs rdiff -u -r1.1294 -r1.1295 src/share/mk/bsd.own.mk Please note

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 13:55:06 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: expr_sizeof.c Log Message: tests/lint: fix test for sizeof with variable-length array To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 13:55:06 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: expr_sizeof.c Log Message: tests/lint: fix test for sizeof with variable-length array To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 14:00:09 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: queries.c Log Message: tests/lint: document conversion from void pointer To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/doc

2023-01-15 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Jan 15 09:00:05 UTC 2023 Modified Files: src/doc: 3RDPARTY Log Message: doc: update binutils entry to include 2.39 Note that 2.40 is out. To generate a diff of this commit: cvs rdiff -u -r1.1907 -r1.1908 src/doc/3RDPARTY

CVS commit: src/doc

2023-01-15 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Jan 15 09:00:05 UTC 2023 Modified Files: src/doc: 3RDPARTY Log Message: doc: update binutils entry to include 2.39 Note that 2.40 is out. To generate a diff of this commit: cvs rdiff -u -r1.1907 -r1.1908 src/doc/3RDPARTY

CVS commit: src/common/lib/libc/arch/arm/string

2023-01-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Jan 15 08:43:04 UTC 2023 Modified Files: src/common/lib/libc/arch/arm/string: strlen_arm.S Log Message: Fix strnlen with a large maxlen argument by using unsigned comparison conditions - from mlelstv. I had a similar, but not

CVS commit: src/common/lib/libc/arch/arm/string

2023-01-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Jan 15 08:43:04 UTC 2023 Modified Files: src/common/lib/libc/arch/arm/string: strlen_arm.S Log Message: Fix strnlen with a large maxlen argument by using unsigned comparison conditions - from mlelstv. I had a similar, but not

Re: Detecting typos in makefiles (was: Re: CVS commit: src/share/mk)

2023-01-15 Thread Christos Zoulas
That's very funny. Yes I think we should warn. I don't think that \\ should be a valid variable name. Best, christos > On Jan 15, 2023, at 1:14 PM, Roland Illig wrote: > > Am 15.01.2023 um 11:51 schrieb Nick Hudson: >> Module Name: src >> Committed By:skrll >> Date:Sun

CVS commit: src/share/mk

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 18:43:49 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: replace '!empty' with direct expression The variables MACHINE and MACHINE_ARCH are guaranteed to be defined, therefore they don't

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 22:06:38 UTC 2023 Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: lint: extract run_cpp and run_lint1 to separate functions Move run_lint2 further to the top, to save a forward declaration. No

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 22:06:38 UTC 2023 Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: lint: extract run_cpp and run_lint1 to separate functions Move run_lint2 further to the top, to save a forward declaration. No

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 22:26:49 UTC 2023 Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: lint: clean up main function No functional change. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 22:26:49 UTC 2023 Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: lint: clean up main function No functional change. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103

CVS commit: src/external/gpl3/binutils

2023-01-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 15 18:30:59 UTC 2023 Modified Files: src/external/gpl3/binutils/lib/libbfd/arch/hppa: bfd.h bfdver.h config.h src/external/gpl3/binutils/lib/libbfd/arch/riscv32: bfd.h bfdver.h config.h

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 21:46:15 UTC 2023 Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: lint: reduce number of local variables in lbasename No functional change. To generate a diff of this commit: cvs rdiff -u -r1.100

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 21:46:15 UTC 2023 Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: lint: reduce number of local variables in lbasename No functional change. To generate a diff of this commit: cvs rdiff -u -r1.100

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 21:27:37 UTC 2023 Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: lint: move argument list modification further away from vfork Just to be on the safe side. While here, don't allocate argument strings

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 21:27:37 UTC 2023 Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: lint: move argument list modification further away from vfork Just to be on the safe side. While here, don't allocate argument strings

CVS commit: src/lib/libc/time

2023-01-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 15 18:12:37 UTC 2023 Modified Files: src/lib/libc/time: NEWS localtime.c private.h zdump.c zic.c Log Message: Apply 9cfe9507fcc22cd4a0c4da486ea1c7f0de6b075f for C23 attribute compliance. Requested by Jan-Benedict Glaw.

CVS commit: src/lib/libc/time

2023-01-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 15 18:12:37 UTC 2023 Modified Files: src/lib/libc/time: NEWS localtime.c private.h zdump.c zic.c Log Message: Apply 9cfe9507fcc22cd4a0c4da486ea1c7f0de6b075f for C23 attribute compliance. Requested by Jan-Benedict Glaw.

CVS commit: src/share/mk

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 18:43:49 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: replace '!empty' with direct expression The variables MACHINE and MACHINE_ARCH are guaranteed to be defined, therefore they don't

Detecting typos in makefiles (was: Re: CVS commit: src/share/mk)

2023-01-15 Thread Roland Illig
Am 15.01.2023 um 11:51 schrieb Nick Hudson: Module Name:src Committed By: skrll Date: Sun Jan 15 10:51:04 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: Really switch aarch64 and sparc binutils to 2.39 To generate a diff of this commit: cvs rdiff -u

Re: Detecting typos in makefiles (was: Re: CVS commit: src/share/mk)

2023-01-15 Thread Simon Gerraty
On Sun, 15 Jan 2023 19:14:14 +0100, Roland Illig writes: >It is really unfortunate that make didn't catch this typo by itself. > >.if ${MACHINE_ARCH} =3D=3D "x86_64" || \ > ${MACHINE_ARCH} =3D=3D "i386" || \ > ${MACHINE_ARCH} =3D=3D "alpha" || \\ > !empty(MACHINE_ARCH:Maarch64*) || \ >

CVS commit: src/external/gpl3/binutils/dist

2023-01-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 15 23:10:53 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: configure warning.m4 src/external/gpl3/binutils/dist/binutils: configure src/external/gpl3/binutils/dist/gas: configure

CVS commit: src/external/gpl3/binutils/dist

2023-01-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 15 23:10:53 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: configure warning.m4 src/external/gpl3/binutils/dist/binutils: configure src/external/gpl3/binutils/dist/gas: configure

CVS commit: src

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 23:18:05 UTC 2023 Modified Files: src/distrib/sets/lists/tests: mi src/etc/mtree: NetBSD.dist.tests src/tests/usr.bin/xlint: Makefile Added Files: src/tests/usr.bin/xlint/xlint: Makefile

CVS commit: src

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 23:18:05 UTC 2023 Modified Files: src/distrib/sets/lists/tests: mi src/etc/mtree: NetBSD.dist.tests src/tests/usr.bin/xlint: Makefile Added Files: src/tests/usr.bin/xlint/xlint: Makefile

CVS commit: src/external/gpl3/binutils/dist/bfd

2023-01-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jan 16 00:11:50 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-m68k.c elf32-vax.c elf64-mips.c elf64-ppc.c Log Message: fix compilation issues. To generate a diff of this commit: cvs rdiff

CVS commit: src/external/gpl3/binutils/dist/bfd

2023-01-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jan 16 00:11:50 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/bfd: elf32-m68k.c elf32-vax.c elf64-mips.c elf64-ppc.c Log Message: fix compilation issues. To generate a diff of this commit: cvs rdiff

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 23:32:11 UTC 2023 Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: xlint: fix null pointer dereference for lint -V (since today) Building the argument lists further away from the vfork call in xlint.c

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 15 23:32:11 UTC 2023 Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: xlint: fix null pointer dereference for lint -V (since today) Building the argument lists further away from the vfork call in xlint.c

CVS commit: src/external/gpl3/binutils/dist/ld

2023-01-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 15 23:31:51 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/ld: configure.tgt Log Message: put back all our mips stuff. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

CVS commit: src/external/gpl3/binutils/dist/ld

2023-01-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 15 23:31:51 UTC 2023 Modified Files: src/external/gpl3/binutils/dist/ld: configure.tgt Log Message: put back all our mips stuff. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jan 16 00:23:55 UTC 2023 Modified Files: src/distrib/sets/lists/tests: mi Log Message: distrib/sets: add missing directory for xlint tests To generate a diff of this commit: cvs rdiff -u -r1.1242 -r1.1243

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jan 16 00:23:55 UTC 2023 Modified Files: src/distrib/sets/lists/tests: mi Log Message: distrib/sets: add missing directory for xlint tests To generate a diff of this commit: cvs rdiff -u -r1.1242 -r1.1243

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jan 16 00:37:59 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: expr_sizeof.c Log Message: tests/lint: fix typo in comment To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

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

2023-01-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jan 16 00:37:59 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: expr_sizeof.c Log Message: tests/lint: fix typo in comment To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4