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

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 10:39:19 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: platform_lp64.c Log Message: tests/lint: enable test for integer overflow in array index To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

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

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 10:39:19 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: platform_lp64.c Log Message: tests/lint: enable test for integer overflow in array index To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 10:31:29 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: expr_fold.c msg_141.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: remove wrong warning about overflow in unary '-' for unsigned To

CVS commit: src

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 10:31:29 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: expr_fold.c msg_141.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: remove wrong warning about overflow in unary '-' for unsigned To

CVS commit: src

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 10:15:52 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_141.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix integer overflow in integer overflow check To generate a diff of this commit:

CVS commit: src

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 10:15:52 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_141.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix integer overflow in integer overflow check To generate a diff of this commit:

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

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 09:58:30 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_141.c Log Message: tests/lint: test integer overflow when folding constants The test is still incomplete, yet it has discovered several bugs that

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

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 09:58:30 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_141.c Log Message: tests/lint: test integer overflow when folding constants The test is still incomplete, yet it has discovered several bugs that

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

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 09:24:54 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: in check for integer overflow, sort operators To generate a diff of this commit: cvs rdiff -u -r1.614 -r1.615

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

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 09:24:54 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: in check for integer overflow, sort operators To generate a diff of this commit: cvs rdiff -u -r1.614 -r1.615

CVS commit: src

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 23:55:11 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: expr_fold.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix excessive overflow warning after division by zero To generate a diff of this

CVS commit: src

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 23:55:11 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: expr_fold.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix excessive overflow warning after division by zero To generate a diff of this

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

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 17:34:01 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: platform_ilp32_int.c platform_ilp32_long.c platform_lp64.c Log Message: tests/lint: demonstrate integer overflow on lp64 platforms To

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

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 17:34:01 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: platform_ilp32_int.c platform_ilp32_long.c platform_lp64.c Log Message: tests/lint: demonstrate integer overflow on lp64 platforms To

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

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 16:47:10 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: platform_ilp32_int.c platform_ilp32_long.c platform_lp64.c Log Message: tests/lint: test check for out-of-bounds array index To generate a

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

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 16:47:10 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: platform_ilp32_int.c platform_ilp32_long.c platform_lp64.c Log Message: tests/lint: test check for out-of-bounds array index To generate a

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

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 14:54:14 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: merge duplicate code for checking array index To generate a diff of this commit: cvs rdiff -u -r1.612 -r1.613

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

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 14:54:14 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: merge duplicate code for checking array index To generate a diff of this commit: cvs rdiff -u -r1.612 -r1.613

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

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 13:54:47 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: README.md cgram.y ckbool.c ckctype.c ckgetopt.c cksnprintb.c debug.c emit1.c func.c init.c lint1.h tree.c Log Message: lint: inline

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

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 13:54:47 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: README.md cgram.y ckbool.c ckctype.c ckgetopt.c cksnprintb.c debug.c emit1.c func.c init.c lint1.h tree.c Log Message: lint: inline

CVS commit: src/usr.bin/xlint

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 13:20:55 UTC 2024 Modified Files: src/usr.bin/xlint/common: tyname.c src/usr.bin/xlint/lint1: debug.c decl.c emit1.c func.c init.c lint1.h tree.c Log Message: lint: inline accessor macros for type_t

CVS commit: src/usr.bin/xlint

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 13:20:55 UTC 2024 Modified Files: src/usr.bin/xlint/common: tyname.c src/usr.bin/xlint/lint1: debug.c decl.c emit1.c func.c init.c lint1.h tree.c Log Message: lint: inline accessor macros for type_t

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

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 11:05:05 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lint1.h Log Message: lint: clean up comments, use typedefs To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219 src/usr.bin/xlint/lint1/lint1.h

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

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 11:05:05 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lint1.h Log Message: lint: clean up comments, use typedefs To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219 src/usr.bin/xlint/lint1/lint1.h

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

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 10:54:12 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: func.c lint1.h Log Message: lint: internally store case label values in order of appearance To generate a diff of this commit: cvs rdiff -u -r1.181 -r1.182

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

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 10:54:12 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: func.c lint1.h Log Message: lint: internally store case label values in order of appearance To generate a diff of this commit: cvs rdiff -u -r1.181 -r1.182

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

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 10:47:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c lint1.h tree.c Log Message: lint: remove unneeded checks for left and right operands To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

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

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 10:47:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c lint1.h tree.c Log Message: lint: remove unneeded checks for left and right operands To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

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

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 10:41:11 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h lint1.h Log Message: lint: use fewer struct keywords To generate a diff of this commit: cvs rdiff -u -r1.489 -r1.490

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

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 10:41:11 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h lint1.h Log Message: lint: use fewer struct keywords To generate a diff of this commit: cvs rdiff -u -r1.489 -r1.490

CVS commit: src/usr.sbin/postinstall

2024-03-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 06:51:40 UTC 2024 Modified Files: src/usr.sbin/postinstall: postinstall.in Log Message: postinstall: fix endless loop (since 2024-03-07) To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61

CVS commit: src/usr.sbin/postinstall

2024-03-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 06:51:40 UTC 2024 Modified Files: src/usr.sbin/postinstall: postinstall.in Log Message: postinstall: fix endless loop (since 2024-03-07) To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61

CVS commit: src

2024-03-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 8 20:29:18 UTC 2024 Modified Files: src/sys/arch/x86/include: specialreg.h src/usr.sbin/cpuctl/arch: i386.c Log Message: cpuctl: fix i386 bit descriptions for CPUID_SEF_FLAGS1 warning: non-printing character

CVS commit: src

2024-03-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 8 20:29:18 UTC 2024 Modified Files: src/sys/arch/x86/include: specialreg.h src/usr.sbin/cpuctl/arch: i386.c Log Message: cpuctl: fix i386 bit descriptions for CPUID_SEF_FLAGS1 warning: non-printing character

CVS commit: src/sys/net/agr

2024-03-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 8 19:45:59 UTC 2024 Modified Files: src/sys/net/agr: if_agrioctl.h Log Message: ifconfig: fix agr status Previously, when the interface was collecting, its status was reported as '', even when it was not distributing.

CVS commit: src/sys/net/agr

2024-03-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 8 19:45:59 UTC 2024 Modified Files: src/sys/net/agr: if_agrioctl.h Log Message: ifconfig: fix agr status Previously, when the interface was collecting, its status was reported as '', even when it was not distributing.

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

2024-03-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 5 23:07:58 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: var-scope-local.exp var-scope-local.mk Log Message: tests/make: clean up test for local scope variables Use the same style of quotes for both kinds of

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

2024-03-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 5 23:07:58 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: var-scope-local.exp var-scope-local.mk Log Message: tests/make: clean up test for local scope variables Use the same style of quotes for both kinds of

CVS commit: src/common/lib/libutil

2024-03-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 5 07:37:08 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: shrink code size, both in source and binary To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

CVS commit: src/common/lib/libutil

2024-03-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 5 07:37:08 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: shrink code size, both in source and binary To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

CVS commit: src

2024-03-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Mar 4 21:35:28 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: error out on unknown new-style formatting directive To generate a diff of this

CVS commit: src

2024-03-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Mar 4 21:35:28 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: error out on unknown new-style formatting directive To generate a diff of this

CVS commit: src

2024-03-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 3 16:09:01 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_363.c src/usr.bin/xlint/lint1: ckgetopt.c cksnprintb.c emit1.c init.c lex.c lint1.h tree.c Log Message: lint: clean up string

CVS commit: src

2024-03-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 3 16:09:01 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_363.c src/usr.bin/xlint/lint1: ckgetopt.c cksnprintb.c emit1.c init.c lex.c lint1.h tree.c Log Message: lint: clean up string

CVS commit: src

2024-03-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 3 13:09:23 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_358.c msg_362.c msg_363.c msg_372.c msg_373.c msg_374.c msg_377.c src/usr.bin/xlint/lint1: cksnprintb.c err.c Log Message: lint:

CVS commit: src

2024-03-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 3 13:09:23 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_358.c msg_362.c msg_363.c msg_372.c msg_373.c msg_374.c msg_377.c src/usr.bin/xlint/lint1: cksnprintb.c err.c Log Message: lint:

CVS commit: src

2024-03-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 3 10:27:18 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_363.c msg_364.c msg_365.c msg_366.c msg_367.c msg_374.c msg_377.c src/usr.bin/xlint/lint1: cksnprintb.c err.c Log Message: lint:

CVS commit: src

2024-03-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 3 10:27:18 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_363.c msg_364.c msg_365.c msg_366.c msg_367.c msg_374.c msg_377.c src/usr.bin/xlint/lint1: cksnprintb.c err.c Log Message: lint:

CVS commit: src

2024-03-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 3 00:50:42 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: msg_360.c msg_361.c msg_366.c msg_374.c msg_375.c msg_376.c t_usage.sh

CVS commit: src

2024-03-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 3 00:50:42 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: msg_360.c msg_361.c msg_366.c msg_374.c msg_375.c msg_376.c t_usage.sh

CVS commit: src

2024-03-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 2 11:56:37 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: msg_369.c msg_370.c msg_372.c msg_373.c msg_375.c t_usage.sh src/usr.bin/xlint/lint1:

CVS commit: src

2024-03-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 2 11:56:37 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: msg_369.c msg_370.c msg_372.c msg_373.c msg_375.c t_usage.sh src/usr.bin/xlint/lint1:

CVS commit: src/usr.bin/xlint

2024-03-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 2 09:32:19 UTC 2024 Modified Files: src/usr.bin/xlint/common: lint.h src/usr.bin/xlint/lint1: decl.c emit1.c err.c lex.c src/usr.bin/xlint/lint2: chk.c emit2.c read.c src/usr.bin/xlint/xlint:

CVS commit: src/usr.bin/xlint

2024-03-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 2 09:32:19 UTC 2024 Modified Files: src/usr.bin/xlint/common: lint.h src/usr.bin/xlint/lint1: decl.c emit1.c err.c lex.c src/usr.bin/xlint/lint2: chk.c emit2.c read.c src/usr.bin/xlint/xlint:

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

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 21:52:48 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c cksnprintb.c emit1.c init.c lex.c tree.c Log Message: lint: fix misleading initializer for string iterator The field 'start' marks the

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

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 21:52:48 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c cksnprintb.c emit1.c init.c lex.c tree.c Log Message: lint: fix misleading initializer for string iterator The field 'start' marks the

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

2024-03-01 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

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

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 19:40:45 UTC 2024 Added Files: src/usr.bin/xlint/lint1: cksnprintb.c Log Message: lint: test format strings from snprintb calls The functions snprintb and snprintb_m are specific to NetBSD, and their format strings

CVS commit: src

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 19:39:29 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: t_usage.sh src/usr.bin/xlint/lint1: Makefile err.c externs1.h tree.c Added Files:

CVS commit: src

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 19:39:29 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: t_usage.sh src/usr.bin/xlint/lint1: Makefile err.c externs1.h tree.c Added Files:

CVS commit: src/usr.bin/make

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 17:53:30 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: fix type mismatch in lint's strict bool mode (since today) To generate a diff of this commit: cvs rdiff -u -r1.1100 -r1.1101

CVS commit: src/usr.bin/make

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 17:53:30 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: fix type mismatch in lint's strict bool mode (since today) To generate a diff of this commit: cvs rdiff -u -r1.1100 -r1.1101

CVS commit: src/usr.bin/make

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 17:47:05 UTC 2024 Modified Files: src/usr.bin/make: test-variants.mk Log Message: make: remove test variant for NO_REGEX The compile-time toggle was removed in var.c 1.1099 from 2024-02-07. To generate a diff of

CVS commit: src/usr.bin/make

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 17:47:05 UTC 2024 Modified Files: src/usr.bin/make: test-variants.mk Log Message: make: remove test variant for NO_REGEX The compile-time toggle was removed in var.c 1.1099 from 2024-02-07. To generate a diff of

CVS commit: src

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 17:22:55 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_348.c msg_349.c msg_350.c msg_351.c msg_352.c msg_353.c msg_354.c msg_355.c msg_356.c src/usr.bin/xlint/lint1: check-msgs.lua Log

CVS commit: src

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 17:22:55 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_348.c msg_349.c msg_350.c msg_351.c msg_352.c msg_353.c msg_354.c msg_355.c msg_356.c src/usr.bin/xlint/lint1: check-msgs.lua Log

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

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 17:14:34 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: fix type error in strict bool mode (since yesterday) To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219

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

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 17:14:34 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: fix type error in strict bool mode (since yesterday) To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219

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

2024-02-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 29 21:37:10 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint1: remove redundant type table for integer constant suffixes To generate a diff of this commit: cvs rdiff -u -r1.217 -r1.218

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

2024-02-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 29 21:37:10 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint1: remove redundant type table for integer constant suffixes To generate a diff of this commit: cvs rdiff -u -r1.217 -r1.218

CVS commit: src/lib/libutil

2024-02-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 29 21:08:55 UTC 2024 Modified Files: src/lib/libutil: snprintb.3 Log Message: snprintb.3: fix typo To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/lib/libutil/snprintb.3 Please note that diffs are not

CVS commit: src/lib/libutil

2024-02-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 29 21:08:55 UTC 2024 Modified Files: src/lib/libutil: snprintb.3 Log Message: snprintb.3: fix typo To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/lib/libutil/snprintb.3 Please note that diffs are not

CVS commit: src/lib/libutil

2024-02-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 29 20:55:35 UTC 2024 Modified Files: src/lib/libutil: parsedate.y Log Message: parsedate.y: remove outdated comment The number of shift/reduce conflicts has grown to 16. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libutil

2024-02-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 29 20:55:35 UTC 2024 Modified Files: src/lib/libutil: parsedate.y Log Message: parsedate.y: remove outdated comment The number of shift/reduce conflicts has grown to 16. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/tests/lib/libutil

2024-02-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 24 13:00:00 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: clean up tests Always write the value to be formatted in hexadecimal, to make it easily distinguishable from the

CVS commit: src/tests/lib/libutil

2024-02-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 24 13:00:00 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: clean up tests Always write the value to be formatted in hexadecimal, to make it easily distinguishable from the

CVS commit: src/common/lib/libutil

2024-02-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 24 12:44:11 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: clean up Use consistent data types for buffer positions and lengths, to avoid type casts. To generate a diff of this

CVS commit: src/common/lib/libutil

2024-02-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 24 12:44:11 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: clean up Use consistent data types for buffer positions and lengths, to avoid type casts. To generate a diff of this

CVS commit: src

2024-02-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 24 12:40:00 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: allow non-ASCII descriptions on all platforms Previously, these descriptions were

CVS commit: src

2024-02-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 24 12:40:00 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: allow non-ASCII descriptions on all platforms Previously, these descriptions were

CVS commit: src

2024-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 22 21:04:24 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: always null-terminate output Always

CVS commit: src

2024-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 22 21:04:24 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: always null-terminate output Always

CVS commit: src

2024-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 22 18:26:16 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: error out on out-of-bounds bit shifts

CVS commit: src

2024-02-22 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 22 18:26:16 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: error out on out-of-bounds bit shifts

CVS commit: src/tests/lib/libutil

2024-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 20 21:45:36 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: test '=' and '*' directives that can never match To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

CVS commit: src/tests/lib/libutil

2024-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 20 21:45:36 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: test '=' and '*' directives that can never match To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

CVS commit: src/lib/libutil

2024-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 20 20:38:54 UTC 2024 Modified Files: src/lib/libutil: snprintb.3 Log Message: snprintb.3: sync examples with reality To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/lib/libutil/snprintb.3 Please note

CVS commit: src/lib/libutil

2024-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 20 20:38:54 UTC 2024 Modified Files: src/lib/libutil: snprintb.3 Log Message: snprintb.3: sync examples with reality To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/lib/libutil/snprintb.3 Please note

CVS commit: src

2024-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 20 20:31:56 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb_m: limit length of generated strings The manual page promises that the 'max'

CVS commit: src

2024-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 20 20:31:56 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb_m: limit length of generated strings The manual page promises that the 'max'

CVS commit: src/tests/lib/libutil

2024-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 20 19:49:10 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: fix out-of-bounds memory read (since 2024-02-16) Before t_snprintb.c 1.20, the buffer size was required to be greater

CVS commit: src/tests/lib/libutil

2024-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 20 19:49:10 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: fix out-of-bounds memory read (since 2024-02-16) Before t_snprintb.c 1.20, the buffer size was required to be greater

CVS commit: src

2024-02-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 19 23:30:56 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: fix how named bit-fields are split into multiple lines To generate a diff of

CVS commit: src

2024-02-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 19 23:30:56 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c src/tests/lib/libutil: t_snprintb.c Log Message: snprintb: fix how named bit-fields are split into multiple lines To generate a diff of

CVS commit: src/tests/lib/libutil

2024-02-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 19 23:22:03 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: add more tests, especially for snprintb_m To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/tests/lib/libutil

2024-02-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 19 23:22:03 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: add more tests, especially for snprintb_m To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src

2024-02-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 18 16:55:02 UTC 2024 Modified Files: src/lib/libutil: snprintb.3 src/sys/sys: mman.h Log Message: mman.h: fix snprintb description for alignment 2^60 To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

CVS commit: src

2024-02-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 18 16:55:02 UTC 2024 Modified Files: src/lib/libutil: snprintb.3 src/sys/sys: mman.h Log Message: mman.h: fix snprintb description for alignment 2^60 To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

CVS commit: src/common/lib/libutil

2024-02-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 17 10:23:30 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: convert macros to local functions Let the compiler decide whether to inline the functions; allow stepping through the code in

CVS commit: src/common/lib/libutil

2024-02-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 17 10:23:30 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: convert macros to local functions Let the compiler decide whether to inline the functions; allow stepping through the code in

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