CVS commit: src/sys/arch

2024-04-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 7 17:08:00 UTC 2024 Modified Files: src/sys/arch/sparc/include: psl.h src/sys/arch/sparc/sparc: memeccreg.h src/sys/arch/sparc64/include: psl.h Log Message: sparc: fix typos and omissions in PSTATE_BITS

CVS commit: src/sys/arch

2024-04-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 7 17:08:00 UTC 2024 Modified Files: src/sys/arch/sparc/include: psl.h src/sys/arch/sparc/sparc: memeccreg.h src/sys/arch/sparc64/include: psl.h Log Message: sparc: fix typos and omissions in PSTATE_BITS

CVS commit: src

2024-04-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 7 15:20:17 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: reject empty bit descriptions and wrongly placed defaults To generate a diff of

CVS commit: src

2024-04-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 7 15:20:17 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: reject empty bit descriptions and wrongly placed defaults To generate a diff of

CVS commit: src/lib/libutil

2024-04-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 7 14:28:27 UTC 2024 Modified Files: src/lib/libutil: snprintb.3 Log Message: snprintb.3: clean up formatting and wording, prefer octal in examples Using hexadecimal character escapes requires separate string literals if

CVS commit: src/lib/libutil

2024-04-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 7 14:28:27 UTC 2024 Modified Files: src/lib/libutil: snprintb.3 Log Message: snprintb.3: clean up formatting and wording, prefer octal in examples Using hexadecimal character escapes requires separate string literals if

CVS commit: src

2024-04-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 7 12:05:23 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/lib/libutil: snprintb.3 src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: reject combinations of 'f' with ':' as well as

CVS commit: src

2024-04-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 7 12:05:23 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/lib/libutil: snprintb.3 src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: reject combinations of 'f' with ':' as well as

CVS commit: src

2024-04-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 7 10:10:54 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: reject empty descriptions In cases where the snprintb output is garbled, it is

CVS commit: src

2024-04-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 7 10:10:54 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: reject empty descriptions In cases where the snprintb output is garbled, it is

CVS commit: src/external/bsd/flex/bin

2024-04-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Apr 5 22:21:40 UTC 2024 Modified Files: src/external/bsd/flex/bin: flex.1 Log Message: flex.1: fix single-bit error in contributor name To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/external/bsd/flex/bin

2024-04-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Apr 5 22:21:40 UTC 2024 Modified Files: src/external/bsd/flex/bin: flex.1 Log Message: flex.1: fix single-bit error in contributor name To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/lib/libc/arch/sparc/gen

2024-04-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Apr 2 20:42:13 UTC 2024 Modified Files: src/lib/libc/arch/sparc/gen: fpsetround.c Log Message: sparc/fpsetround: fix the nearby signed integer overflow as well Same as for sparc64 a few days ago. To generate a diff of

CVS commit: src/lib/libc/arch/sparc/gen

2024-04-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Apr 2 20:42:13 UTC 2024 Modified Files: src/lib/libc/arch/sparc/gen: fpsetround.c Log Message: sparc/fpsetround: fix the nearby signed integer overflow as well Same as for sparc64 a few days ago. To generate a diff of

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

2024-04-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Apr 2 15:05:15 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: opt-keep-going-indirect.mk Log Message: tests/make: pass PATH onto child processes This fixes the tests on some Cygwin variant where the shell does not

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

2024-04-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Apr 2 15:05:15 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: opt-keep-going-indirect.mk Log Message: tests/make: pass PATH onto child processes This fixes the tests on some Cygwin variant where the shell does not

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

2024-04-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Apr 2 11:11:00 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: opt-chdir.exp opt-chdir.mk Log Message: tests/make: remove test for overly long chdir argument On Cygwin, the path '/././..././' is normalized before

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

2024-04-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Apr 2 11:11:00 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: opt-chdir.exp opt-chdir.mk Log Message: tests/make: remove test for overly long chdir argument On Cygwin, the path '/././..././' is normalized before

CVS commit: src/usr.bin/make

2024-04-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 1 12:33:28 UTC 2024 Modified Files: src/usr.bin/make: for.c Log Message: make: remove unreachable code in handling .for loops To generate a diff of this commit: cvs rdiff -u -r1.178 -r1.179 src/usr.bin/make/for.c

CVS commit: src/usr.bin/make

2024-04-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 1 12:33:28 UTC 2024 Modified Files: src/usr.bin/make: for.c Log Message: make: remove unreachable code in handling .for loops To generate a diff of this commit: cvs rdiff -u -r1.178 -r1.179 src/usr.bin/make/for.c

CVS commit: src/usr.bin/make

2024-04-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 1 12:26:02 UTC 2024 Modified Files: src/usr.bin/make: parse.c src/usr.bin/make/unit-tests: directive-for-null.exp directive-for-null.mk opt-file.exp opt-file.mk Log Message: make: exit immediately

CVS commit: src/usr.bin/make

2024-04-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 1 12:26:02 UTC 2024 Modified Files: src/usr.bin/make: parse.c src/usr.bin/make/unit-tests: directive-for-null.exp directive-for-null.mk opt-file.exp opt-file.mk Log Message: make: exit immediately

CVS commit: src/tests/lib/libutil

2024-04-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 1 09:15:51 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb_m: test null-terminated output in error case While here, clean up the buffer handling for the visualized array content

CVS commit: src/tests/lib/libutil

2024-04-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 1 09:15:51 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb_m: test null-terminated output in error case While here, clean up the buffer handling for the visualized array content

CVS commit: src/common/lib/libutil

2024-04-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 1 08:53:42 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: remove redundant memset in kernel mode The provided buffer is already null-terminated by finish_buffer, even in error cases,

CVS commit: src/common/lib/libutil

2024-04-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 1 08:53:42 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: remove redundant memset in kernel mode The provided buffer is already null-terminated by finish_buffer, even in error cases,

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

2024-03-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 31 20:28:45 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: README.md debug.c lint1.h op.h oper.c tree.c Log Message: lint: merge function call operators 'CALL' and 'ICALL' To generate a diff of this commit: cvs rdiff

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

2024-03-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 31 20:28:45 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: README.md debug.c lint1.h op.h oper.c tree.c Log Message: lint: merge function call operators 'CALL' and 'ICALL' To generate a diff of this commit: cvs rdiff

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

2024-03-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 30 19:51:00 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: document which fields are not reset when starting a new type Setting all visible fields to their null value seemed as if the whole

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

2024-03-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 30 19:51:00 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: document which fields are not reset when starting a new type Setting all visible fields to their null value seemed as if the whole

CVS commit: src

2024-03-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 30 19:12:37 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: queries.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: in the query about implicit conversions, ignore casts To generate a diff of this

CVS commit: src

2024-03-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 30 19:12:37 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: queries.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: in the query about implicit conversions, ignore casts To generate a diff of this

CVS commit: src

2024-03-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 30 17:23:13 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: queries.c t_usage.sh src/usr.bin/xlint/lint1: err.c tree.c Log Message: lint: add query for implicit integer-to-floating conversion To generate

CVS commit: src

2024-03-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 30 17:23:13 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: queries.c t_usage.sh src/usr.bin/xlint/lint1: err.c tree.c Log Message: lint: add query for implicit integer-to-floating conversion To generate

CVS commit: src

2024-03-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 30 17:12:26 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_168.c platform_ilp32_int.c platform_lp64.c queries.c src/usr.bin/xlint/lint1: err.c init.c tree.c Log Message: lint: do not

CVS commit: src

2024-03-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 30 17:12:26 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_168.c platform_ilp32_int.c platform_lp64.c queries.c src/usr.bin/xlint/lint1: err.c init.c tree.c Log Message: lint: do not

CVS commit: src

2024-03-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 30 16:47:45 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_init.c msg_167.c msg_168.c platform_ilp32_int.c platform_ilp32_long.c platform_lp64.c src/usr.bin/xlint/lint1: err.c init.c

CVS commit: src

2024-03-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 30 16:47:45 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_init.c msg_167.c msg_168.c platform_ilp32_int.c platform_ilp32_long.c platform_lp64.c src/usr.bin/xlint/lint1: err.c init.c

CVS commit: src/usr.bin/xlint

2024-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 29 08:35:32 UTC 2024 Modified Files: src/usr.bin/xlint: Makefile.inc src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h func.c init.c lex.c tree.c Log Message: lint: clean up To generate a diff of

CVS commit: src/usr.bin/xlint

2024-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 29 08:35:32 UTC 2024 Modified Files: src/usr.bin/xlint: Makefile.inc src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h func.c init.c lex.c tree.c Log Message: lint: clean up To generate a diff of

CVS commit: src

2024-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 29 07:35:45 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_186.c src/usr.bin/xlint/lint1: err.c init.c Log Message: lint: fix wording of warning about bit-field initializer To generate a diff of

CVS commit: src

2024-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 29 07:35:45 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_186.c src/usr.bin/xlint/lint1: err.c init.c Log Message: lint: fix wording of warning about bit-field initializer To generate a diff of

CVS commit: src/usr.sbin/moused

2024-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 29 06:13:40 UTC 2024 Modified Files: src/usr.sbin/moused: moused.c Log Message: moused: remove undocumented and unused option 'C' To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

CVS commit: src/usr.sbin/moused

2024-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 29 06:13:40 UTC 2024 Modified Files: src/usr.sbin/moused: moused.c Log Message: moused: remove undocumented and unused option 'C' To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

CVS commit: src

2024-03-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Mar 28 21:04:49 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: lang_level_c99.c src/usr.bin/xlint/lint1: README.md err.c externs1.h Log Message: lint: clean up To generate a diff of this commit: cvs rdiff

CVS commit: src

2024-03-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Mar 28 21:04:49 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: lang_level_c99.c src/usr.bin/xlint/lint1: README.md err.c externs1.h Log Message: lint: clean up To generate a diff of this commit: cvs rdiff

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

2024-03-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 27 21:14:09 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: add missing assignment to $$ in grammar Byacc and Bison both provide this assignment for all actions, whether default or not, but

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

2024-03-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 27 21:14:09 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: add missing assignment to $$ in grammar Byacc and Bison both provide this assignment for all actions, whether default or not, but

CVS commit: src

2024-03-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 27 20:09:44 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_141.c src/usr.bin/xlint/lint1: emit1.c tree.c Log Message: lint: clean up; extend overflow test To generate a diff of this commit: cvs

CVS commit: src

2024-03-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 27 20:09:44 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_141.c src/usr.bin/xlint/lint1: emit1.c tree.c Log Message: lint: clean up; extend overflow test To generate a diff of this commit: cvs

CVS commit: src

2024-03-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 27 19:28:21 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_167.c msg_168.c msg_187.c msg_199.c msg_200.c platform_ilp32.c src/usr.bin/xlint/lint1: err.c func.c init.c tree.c Log Message:

CVS commit: src

2024-03-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 27 19:28:21 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_167.c msg_168.c msg_187.c msg_199.c msg_200.c platform_ilp32.c src/usr.bin/xlint/lint1: err.c func.c init.c tree.c Log Message:

CVS commit: src/tools

2024-03-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 27 05:43:38 UTC 2024 Modified Files: src/tools: Makefile Log Message: tools/Makefile: clean up TOOLDIR validation At the point where tools/Makefile is loaded, TOOLDIR doesn't have to exist yet, it will be created later.

CVS commit: src/tools

2024-03-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 27 05:43:38 UTC 2024 Modified Files: src/tools: Makefile Log Message: tools/Makefile: clean up TOOLDIR validation At the point where tools/Makefile is loaded, TOOLDIR doesn't have to exist yet, it will be created later.

CVS commit: src/sys/dev/acpi

2024-03-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 26 22:16:12 UTC 2024 Modified Files: src/sys/dev/acpi: apei_cper.h Log Message: apei: fix typos in comments and snprintb bitfmt To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/acpi/apei_cper.h

CVS commit: src/sys/dev/acpi

2024-03-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 26 22:16:12 UTC 2024 Modified Files: src/sys/dev/acpi: apei_cper.h Log Message: apei: fix typos in comments and snprintb bitfmt To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/acpi/apei_cper.h

CVS commit: src/sys/dev/acpi

2024-03-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 26 22:01:03 UTC 2024 Modified Files: src/sys/dev/acpi: apei.c apei_einj.c Log Message: apei: fix typos in comments To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/acpi/apei.c cvs rdiff -u -r1.5

CVS commit: src/sys/dev/acpi

2024-03-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 26 22:01:03 UTC 2024 Modified Files: src/sys/dev/acpi: apei.c apei_einj.c Log Message: apei: fix typos in comments To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/acpi/apei.c cvs rdiff -u -r1.5

CVS commit: src/tests/lib/libc/time

2024-03-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 26 21:52:23 UTC 2024 Modified Files: src/tests/lib/libc/time: t_strptime.c Log Message: t_strptime: fix typo in test description To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/tests/lib/libc/time

2024-03-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 26 21:52:23 UTC 2024 Modified Files: src/tests/lib/libc/time: t_strptime.c Log Message: t_strptime: fix typo in test description To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/lib/libm

2024-03-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 26 20:12:47 UTC 2024 Modified Files: src/lib/libm: Makefile Log Message: libm/s_logl: suppress lint warnings Seen on sparc64. To generate a diff of this commit: cvs rdiff -u -r1.226 -r1.227 src/lib/libm/Makefile

CVS commit: src/lib/libm

2024-03-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 26 20:12:47 UTC 2024 Modified Files: src/lib/libm: Makefile Log Message: libm/s_logl: suppress lint warnings Seen on sparc64. To generate a diff of this commit: cvs rdiff -u -r1.226 -r1.227 src/lib/libm/Makefile

CVS commit: src

2024-03-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Mar 25 23:39:14 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_132.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix warnings about loss of accuracy on bit-field operations To generate a diff of

CVS commit: src

2024-03-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Mar 25 23:39:14 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_132.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix warnings about loss of accuracy on bit-field operations To generate a diff of

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

2024-03-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Mar 25 22:46:23 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_132.c Log Message: tests/lint: demonstrate wrong warnings about lossy bit field operations To generate a diff of this commit: cvs rdiff -u -r1.36

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

2024-03-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Mar 25 22:46:23 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_132.c Log Message: tests/lint: demonstrate wrong warnings about lossy bit field operations To generate a diff of this commit: cvs rdiff -u -r1.36

CVS commit: src

2024-03-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Mar 25 22:37:43 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_356.c msg_362.c msg_364.c msg_365.c msg_366.c msg_368.c msg_374.c msg_377.c msg_378.c src/usr.bin/xlint/lint1: cksnprintb.c err.c

CVS commit: src

2024-03-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Mar 25 22:37:43 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_356.c msg_362.c msg_364.c msg_365.c msg_366.c msg_368.c msg_374.c msg_377.c msg_378.c src/usr.bin/xlint/lint1: cksnprintb.c err.c

CVS commit: src

2024-03-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Mar 25 20:39:27 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: mark the end of the buffer if the buffer is too small This avoids confusion in

CVS commit: src

2024-03-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Mar 25 20:39:27 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: mark the end of the buffer if the buffer is too small This avoids confusion in

CVS commit: src/lib/libc/arch/sparc64/gen

2024-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 20 06:15:40 UTC 2024 Modified Files: src/lib/libc/arch/sparc64/gen: fpsetround.c Log Message: sparc64/fpsetround: avoid shifting into the sign bit Lint had warned about the constant expression '0x03 << 30' but not about

CVS commit: src/lib/libc/arch/sparc64/gen

2024-03-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 20 06:15:40 UTC 2024 Modified Files: src/lib/libc/arch/sparc64/gen: fpsetround.c Log Message: sparc64/fpsetround: avoid shifting into the sign bit Lint had warned about the constant expression '0x03 << 30' but not about

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

2024-03-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 19 23:19:04 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckctype.c ckgetopt.c debug.c emit1.c tree.c Log Message: lint: keep invalid arguments in function calls Previously, arguments of incomplete type or 'void'

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

2024-03-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 19 23:19:04 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckctype.c ckgetopt.c debug.c emit1.c tree.c Log Message: lint: keep invalid arguments in function calls Previously, arguments of incomplete type or 'void'

Re: CVS commit: src/usr.bin/stat

2024-03-14 Thread Roland Illig
Am 14.03.2024 um 21:27 schrieb Robert Elz: > Date:Thu, 14 Mar 2024 20:53:13 +0100 > From: Roland Illig > Message-ID: <9c7513f7-97b5-4d3b-9d66-dce483af7...@gmx.de> > > | I don't think the flags '+' and '0' make sense for strings, that's why I >

CVS commit: src

2024-03-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Mar 14 21:17:54 UTC 2024 Modified Files: src/tests/usr.bin/stat: t_stat.sh src/usr.bin/stat: stat.c Log Message: stat: don't allow numeric formatting flags on strings Calling snprintf with "%+s" invokes undefined

CVS commit: src

2024-03-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Mar 14 21:17:54 UTC 2024 Modified Files: src/tests/usr.bin/stat: t_stat.sh src/usr.bin/stat: stat.c Log Message: stat: don't allow numeric formatting flags on strings Calling snprintf with "%+s" invokes undefined

CVS commit: src

2024-03-14 Thread Roland Illig
$ +# +# Copyright (c) 2024 The NetBSD Foundation, Inc. +# All rights reserved. +# +# This code is derived from software contributed to The NetBSD Foundation +# by Roland Illig. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the

CVS commit: src

2024-03-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Mar 14 21:00:33 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/etc/mtree: NetBSD.dist.tests src/tests/usr.bin: Makefile Added Files: src/tests/usr.bin/stat: Makefile t_stat.sh Log

Re: CVS commit: src/usr.bin/stat

2024-03-14 Thread Roland Illig
Am 14.03.2024 um 20:38 schrieb Robert Elz: > Module Name: src > Committed By: kre > Date: Thu Mar 14 19:38:56 UTC 2024 > > Modified Files: > src/usr.bin/stat: stat.c > > Log Message: > While the change in 1.51 certainly retained binary compat with > what was in 1.50 (while silencing

CVS commit: src/usr.bin/stat

2024-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Mar 14 00:07:20 UTC 2024 Modified Files: src/usr.bin/stat: stat.c Log Message: stat: fix lint warning about constant argument to '!' No binary change. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51

CVS commit: src/usr.bin/stat

2024-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Mar 14 00:07:20 UTC 2024 Modified Files: src/usr.bin/stat: stat.c Log Message: stat: fix lint warning about constant argument to '!' No binary change. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51

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

2024-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 13 06:56:24 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: expr_sizeof.c Log Message: tests/lint: ensure that lint correctly decays array parameter types To generate a diff of this commit: cvs rdiff -u -r1.14

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

2024-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 13 06:56:24 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: expr_sizeof.c Log Message: tests/lint: ensure that lint correctly decays array parameter types To generate a diff of this commit: cvs rdiff -u -r1.14

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

2024-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 13 06:48:49 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c Log Message: lint: trim down the check for snprintb formats To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

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

2024-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 13 06:48:49 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c Log Message: lint: trim down the check for snprintb formats To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

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

2024-03-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 12 20:35:29 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_132.c Log Message: tests/lint: extend test for previously wrong warning about bit-fields To generate a diff of this commit: cvs rdiff -u -r1.35

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

2024-03-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 12 20:35:29 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_132.c Log Message: tests/lint: extend test for previously wrong warning about bit-fields To generate a diff of this commit: cvs rdiff -u -r1.35

CVS commit: src

2024-03-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 12 07:56:08 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_132.c msg_267.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix warning about loss of conversion for unsigned bit-fields Since decl.c

CVS commit: src

2024-03-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 12 07:56:08 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_132.c msg_267.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix warning about loss of conversion for unsigned bit-fields Since decl.c

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

2024-03-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 12 07:29:40 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_132.c Log Message: tests/lint: demonstrate wrong warning when comparing a bit-field Since decl.c 1.180 from 2021-05-02, which allowed arbitrary

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

2024-03-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 12 07:29:40 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_132.c Log Message: tests/lint: demonstrate wrong warning when comparing a bit-field Since decl.c 1.180 from 2021-05-02, which allowed arbitrary

CVS commit: src

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 19:45:14 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: expr_fold.c msg_141.c platform_ilp32_int.c platform_ilp32_long.c platform_lp64.c src/usr.bin/xlint/lint1: err.c tree.c Log Message:

CVS commit: src

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 19:45:14 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: expr_fold.c msg_141.c platform_ilp32_int.c platform_ilp32_long.c platform_lp64.c src/usr.bin/xlint/lint1: err.c tree.c Log Message:

CVS commit: src/usr.bin/kdump

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 18:54:41 UTC 2024 Modified Files: src/usr.bin/kdump: kdump.c Log Message: kdump: keep the comment with its corresponding code No binary change. To generate a diff of this commit: cvs rdiff -u -r1.143 -r1.144

CVS commit: src/usr.bin/kdump

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 18:54:41 UTC 2024 Modified Files: src/usr.bin/kdump: kdump.c Log Message: kdump: keep the comment with its corresponding code No binary change. To generate a diff of this commit: cvs rdiff -u -r1.143 -r1.144

CVS commit: src/usr.sbin/postinstall

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 18:23:18 UTC 2024 Modified Files: src/usr.sbin/postinstall: postinstall.in Log Message: postinstall: fix parameter order in usage message To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62

CVS commit: src/usr.sbin/postinstall

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 18:23:18 UTC 2024 Modified Files: src/usr.sbin/postinstall: postinstall.in Log Message: postinstall: fix parameter order in usage message To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62

CVS commit: src/lib/libc/compiler_rt

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 18:00:13 UTC 2024 Modified Files: src/lib/libc/compiler_rt: Makefile.inc Log Message: compiler_rt: allow signed bit shifts for __negv Standard C defines '1 << 31' as undefined behavior, but

CVS commit: src/lib/libc/compiler_rt

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 18:00:13 UTC 2024 Modified Files: src/lib/libc/compiler_rt: Makefile.inc Log Message: compiler_rt: allow signed bit shifts for __negv Standard C defines '1 << 31' as undefined behavior, but

<    1   2   3   4   5   6   7   8   9   10   >