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

2024-01-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 7 21:19:42 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_107.c msg_141.c msg_305.c Log Message: tests/lint: test operators, integer overflow, conversions To generate a diff of this commit: cvs rdiff -u

CVS commit: src

2024-01-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 7 18:42:37 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: queries.c t_usage.sh src/usr.bin/xlint/lint1: err.c lex.c Log Message: lint: allow querying for invisible characters in literals and constants

CVS commit: src

2024-01-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 7 18:42:37 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: queries.c t_usage.sh src/usr.bin/xlint/lint1: err.c lex.c Log Message: lint: allow querying for invisible characters in literals and constants

CVS commit: src

2024-01-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 7 12:43:16 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_func.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix crash for invalid __func__ (since 2023-01-29) To generate a diff of this

CVS commit: src

2024-01-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 7 12:43:16 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_func.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix crash for invalid __func__ (since 2023-01-29) To generate a diff of this

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

2024-01-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 7 12:20:42 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix memory allocation names, eliminate double negation To generate a diff of this commit: cvs rdiff -u -r1.589 -r1.590

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

2024-01-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 7 12:20:42 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix memory allocation names, eliminate double negation To generate a diff of this commit: cvs rdiff -u -r1.589 -r1.590

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

2024-01-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 7 11:42:22 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: varmod-assign.exp varmod-assign.mk Log Message: tests/make: test the '::=' modifier in target scope To generate a diff of this commit: cvs rdiff -u

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

2024-01-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 7 11:42:22 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: varmod-assign.exp varmod-assign.mk Log Message: tests/make: test the '::=' modifier in target scope To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2024-01-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 7 11:39:04 UTC 2024 Modified Files: src/usr.bin/make: job.c parse.c var.c src/usr.bin/make/unit-tests: varparse-undef-partial.mk Log Message: make: clean up comments, constify shell name To generate a diff of

CVS commit: src/usr.bin/make

2024-01-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 7 11:39:04 UTC 2024 Modified Files: src/usr.bin/make: job.c parse.c var.c src/usr.bin/make/unit-tests: varparse-undef-partial.mk Log Message: make: clean up comments, constify shell name To generate a diff of

CVS commit: src

2024-01-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 6 15:05:24 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: expr_fold.c src/usr.bin/xlint/lint1: decl.c func.c lint1.h tree.c Log Message: lint: remove redundant parentheses, braces and comments Rename

CVS commit: src

2024-01-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 6 15:05:24 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: expr_fold.c src/usr.bin/xlint/lint1: decl.c func.c lint1.h tree.c Log Message: lint: remove redundant parentheses, braces and comments Rename

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

2024-01-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 6 14:21:26 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: remove redundant comments To generate a diff of this commit: cvs rdiff -u -r1.587 -r1.588 src/usr.bin/xlint/lint1/tree.c Please

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

2024-01-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 6 14:21:26 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: remove redundant comments To generate a diff of this commit: cvs rdiff -u -r1.587 -r1.588 src/usr.bin/xlint/lint1/tree.c Please

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

2024-01-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jan 5 23:36:45 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: var-op-shell.mk Log Message: tests/make: test long shell commands via Cmd_Exec To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

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

2024-01-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jan 5 23:36:45 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: var-op-shell.mk Log Message: tests/make: test long shell commands via Cmd_Exec To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/usr.bin/make

2024-01-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jan 5 23:22:06 UTC 2024 Modified Files: src/usr.bin/make: compat.c job.c main.c make.c parse.c str.c suff.c var.c Log Message: make: miscellaneous cleanups To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2024-01-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jan 5 23:22:06 UTC 2024 Modified Files: src/usr.bin/make: compat.c job.c main.c make.c parse.c str.c suff.c var.c Log Message: make: miscellaneous cleanups To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2024-01-05 Thread Roland Illig
/str.h:1.18 Fri Jan 5 21:51:27 2024 +++ src/usr.bin/make/str.h Fri Jan 5 21:56:55 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: str.h,v 1.18 2024/01/05 21:51:27 rillig Exp $ */ +/* $NetBSD: str.h,v 1.19 2024/01/05 21:56:55 rillig Exp $ */ /* Copyright (c) 2021 Roland Illig @@ -76,27 +76,24 @@ typedef struct

CVS commit: src/usr.bin/make

2024-01-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jan 5 21:56:55 UTC 2024 Modified Files: src/usr.bin/make: str.h var.c Log Message: make: clean up string functions No binary change. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/usr.bin/make/str.h cvs

CVS commit: src/usr.bin/make

2024-01-05 Thread Roland Illig
/make/str.h:1.17 Fri Jun 23 04:56:54 2023 +++ src/usr.bin/make/str.h Fri Jan 5 21:51:27 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: str.h,v 1.17 2023/06/23 04:56:54 rillig Exp $ */ +/* $NetBSD: str.h,v 1.18 2024/01/05 21:51:27 rillig Exp $ */ /* Copyright (c) 2021 Roland Illig @@ -154,14 +154,6

CVS commit: src/usr.bin/make

2024-01-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jan 5 21:51:27 UTC 2024 Modified Files: src/usr.bin/make: str.h var.c Log Message: make: inline Substring_Sub Remove redundant assertions. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

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

2023-12-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 31 10:09:01 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: varmod-assign.mk Log Message: tests/make: finish incomplete sentence in test for assignment modifiers To generate a diff of this commit: cvs rdiff -u

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

2023-12-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 31 10:09:01 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: varmod-assign.mk Log Message: tests/make: finish incomplete sentence in test for assignment modifiers To generate a diff of this commit: cvs rdiff -u

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

2023-12-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 30 22:44:22 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: expr_promote.exp-ln expr_promote_trad.exp-ln Log Message: tests/lint: add spaces to expected files, for better readability To generate a

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

2023-12-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 30 22:44:22 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: expr_promote.exp-ln expr_promote_trad.exp-ln Log Message: tests/lint: add spaces to expected files, for better readability To generate a

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

2023-12-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 30 17:09:42 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c Log Message: tests/lint: sync comments in test for strict bool mode with reality To generate a diff of this commit: cvs rdiff -u

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

2023-12-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 30 17:09:42 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c Log Message: tests/lint: sync comments in test for strict bool mode with reality To generate a diff of this commit: cvs rdiff -u

CVS commit: src

2023-12-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 30 15:37:27 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c src/usr.bin/xlint/lint1: ckbool.c Log Message: lint: in strict bool mode, allow 'a & b' in controlling expressions

CVS commit: src

2023-12-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 30 15:37:27 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c src/usr.bin/xlint/lint1: ckbool.c Log Message: lint: in strict bool mode, allow 'a & b' in controlling expressions

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

2023-12-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 30 15:18:57 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c Log Message: tests/lint: test '&' for non-enum types in strict bool mode To generate a diff of this commit: cvs rdiff -u -r1.45

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

2023-12-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 30 15:18:57 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c Log Message: tests/lint: test '&' for non-enum types in strict bool mode To generate a diff of this commit: cvs rdiff -u -r1.45

CVS commit: src/usr.bin/make

2023-12-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 30 15:00:56 UTC 2023 Modified Files: src/usr.bin/make: suff.c Log Message: make: clean up freeing of suffixes No functional change. To generate a diff of this commit: cvs rdiff -u -r1.375 -r1.376

CVS commit: src/usr.bin/make

2023-12-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 30 15:00:56 UTC 2023 Modified Files: src/usr.bin/make: suff.c Log Message: make: clean up freeing of suffixes No functional change. To generate a diff of this commit: cvs rdiff -u -r1.375 -r1.376

CVS commit: src/usr.bin/make

2023-12-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 30 13:28:06 UTC 2023 Modified Files: src/usr.bin/make: suff.c Log Message: make: remove unused field from suffix No functional change. To generate a diff of this commit: cvs rdiff -u -r1.374 -r1.375

CVS commit: src/usr.bin/make

2023-12-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 30 13:28:06 UTC 2023 Modified Files: src/usr.bin/make: suff.c Log Message: make: remove unused field from suffix No functional change. To generate a diff of this commit: cvs rdiff -u -r1.374 -r1.375

CVS commit: src/usr.bin/make

2023-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Dec 29 20:43:58 UTC 2023 Modified Files: src/usr.bin/make: lst.c lst.h parse.c Log Message: make: unexport list memory management functions They are only used in a single source file. No functional change. To generate a

CVS commit: src/usr.bin/make

2023-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Dec 29 20:43:58 UTC 2023 Modified Files: src/usr.bin/make: lst.c lst.h parse.c Log Message: make: unexport list memory management functions They are only used in a single source file. No functional change. To generate a

CVS commit: src/usr.bin/make

2023-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Dec 29 18:53:24 UTC 2023 Modified Files: src/usr.bin/make: dir.c make.c suff.c Log Message: make: fix declared types of list nodes No functional change. To generate a diff of this commit: cvs rdiff -u -r1.285 -r1.286

CVS commit: src/usr.bin/make

2023-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Dec 29 18:53:24 UTC 2023 Modified Files: src/usr.bin/make: dir.c make.c suff.c Log Message: make: fix declared types of list nodes No functional change. To generate a diff of this commit: cvs rdiff -u -r1.285 -r1.286

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

2023-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Dec 29 15:47:03 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: varmod-assign.exp varmod-assign.mk Log Message: tests/make: test the '::=' assignment modifier To generate a diff of this commit: cvs rdiff -u -r1.17

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

2023-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Dec 29 15:47:03 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: varmod-assign.exp varmod-assign.mk Log Message: tests/make: test the '::=' assignment modifier To generate a diff of this commit: cvs rdiff -u -r1.17

CVS commit: src/usr.bin/make

2023-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Dec 29 14:57:00 UTC 2023 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmod-defined.exp varname-dot-suffixes.exp Log Message: make: simplify debug message for the ':@var@...@'

CVS commit: src/usr.bin/make

2023-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Dec 29 14:57:00 UTC 2023 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmod-defined.exp varname-dot-suffixes.exp Log Message: make: simplify debug message for the ':@var@...@'

CVS commit: src/usr.bin/make

2023-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Dec 29 13:25:15 UTC 2023 Modified Files: src/usr.bin/make: var.c Log Message: make: clean up variable handling All variables from the command line scope have the fromCmd flag set, so there is no need to check for it. Inline

CVS commit: src/usr.bin/make

2023-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Dec 29 13:25:15 UTC 2023 Modified Files: src/usr.bin/make: var.c Log Message: make: clean up variable handling All variables from the command line scope have the fromCmd flag set, so there is no need to check for it. Inline

CVS commit: src/usr.bin/make

2023-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Dec 29 12:59:43 UTC 2023 Modified Files: src/usr.bin/make: cond.c job.c var.c Log Message: make: clean up comments No binary change, except for line numbers in assertions. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2023-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Dec 29 12:59:43 UTC 2023 Modified Files: src/usr.bin/make: cond.c job.c var.c Log Message: make: clean up comments No binary change, except for line numbers in assertions. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2023-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Dec 29 12:20:55 UTC 2023 Modified Files: src/usr.bin/make: cond.c make.c suff.c var.c Log Message: make: simplify memory allocation for string buffers In edge cases and short-lived buffers, the initial buffer size is

CVS commit: src/usr.bin/make

2023-12-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Dec 29 12:20:55 UTC 2023 Modified Files: src/usr.bin/make: cond.c make.c suff.c var.c Log Message: make: simplify memory allocation for string buffers In edge cases and short-lived buffers, the initial buffer size is

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

2023-12-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Dec 20 09:46:00 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: vardebug.exp vardebug.mk Log Message: tests/make: add the expected output to the test for variable debugging To generate a diff of this commit: cvs rdiff

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

2023-12-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Dec 20 09:46:00 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: vardebug.exp vardebug.mk Log Message: tests/make: add the expected output to the test for variable debugging To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/make

2023-12-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Dec 20 09:03:09 UTC 2023 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: var-scope-local.exp var-scope-local.mk vardebug.exp varname-dot-shell.exp varname-dot-suffixes.exp

CVS commit: src/usr.bin/make

2023-12-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Dec 20 09:03:09 UTC 2023 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: var-scope-local.exp var-scope-local.mk vardebug.exp varname-dot-shell.exp varname-dot-suffixes.exp

CVS commit: src/usr.bin/make

2023-12-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Dec 20 08:50:10 UTC 2023 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: deptgt-makeflags.exp var-readonly.exp vardebug.exp varname-dot-shell.exp varname-dot-suffixes.exp

CVS commit: src/usr.bin/make

2023-12-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Dec 20 08:50:10 UTC 2023 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: deptgt-makeflags.exp var-readonly.exp vardebug.exp varname-dot-shell.exp varname-dot-suffixes.exp

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

2023-12-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Dec 20 08:42:10 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: var-readonly.exp var-readonly.mk Log Message: tests/make: demonstrate confusing debug log for read-only variables The message 'delete %s' that occurs

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

2023-12-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Dec 20 08:42:10 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: var-readonly.exp var-readonly.mk Log Message: tests/make: demonstrate confusing debug log for read-only variables The message 'delete %s' that occurs

CVS commit: src/usr.bin/make

2023-12-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 19 20:08:28 UTC 2023 Modified Files: src/usr.bin/make: Makefile Log Message: make: clean up code coverage report files Remove trailing whitespace. Remove the first line, as it only repeats the filename. Remove the line

CVS commit: src/usr.bin/make

2023-12-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 19 20:08:28 UTC 2023 Modified Files: src/usr.bin/make: Makefile Log Message: make: clean up code coverage report files Remove trailing whitespace. Remove the first line, as it only repeats the filename. Remove the line

CVS commit: src/usr.bin/make

2023-12-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 19 19:33:40 UTC 2023 Modified Files: src/usr.bin/make: buf.c buf.h compat.c cond.c dir.c hash.c hash.h job.c job.h parse.c suff.c var.c src/usr.bin/make/unit-tests: cond-func-empty.mk dep-var.mk dir.mk

CVS commit: src/usr.bin/make

2023-12-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Dec 19 19:33:40 UTC 2023 Modified Files: src/usr.bin/make: buf.c buf.h compat.c cond.c dir.c hash.c hash.h job.c job.h parse.c suff.c var.c src/usr.bin/make/unit-tests: cond-func-empty.mk dep-var.mk dir.mk

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

2023-12-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 18 11:13:51 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: varmod-subst-regex.mk varmod-subst.mk Log Message: tests/make: fix typo in test for ':C' modifier The expression ${U:...} was always undefined, as there

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

2023-12-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Dec 18 11:13:51 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: varmod-subst-regex.mk varmod-subst.mk Log Message: tests/make: fix typo in test for ':C' modifier The expression ${U:...} was always undefined, as there

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

2023-12-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 23:19:02 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: varmod-match.exp varmod-match.mk Log Message: tests/make: test the fast code path for ':M' patterns like '*.c' To generate a diff of this commit: cvs

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

2023-12-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 23:19:02 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: varmod-match.exp varmod-match.mk Log Message: tests/make: test the fast code path for ':M' patterns like '*.c' To generate a diff of this commit: cvs

CVS commit: src/usr.bin/make

2023-12-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 22:46:44 UTC 2023 Modified Files: src/usr.bin/make: str.c Log Message: make: speed up pattern matching in the ':M' modifier In the common patterns where '*' is followed by a regular character, such as in the patterns

CVS commit: src/usr.bin/make

2023-12-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 22:46:44 UTC 2023 Modified Files: src/usr.bin/make: str.c Log Message: make: speed up pattern matching in the ':M' modifier In the common patterns where '*' is followed by a regular character, such as in the patterns

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

2023-12-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 14:07:22 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: directive-include-guard.exp directive-include-guard.mk var-scope-local-legacy.exp var-scope-local-legacy.mk varmod-mtime.mk

CVS commit: src/usr.bin/make

2023-12-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 10:48:10 UTC 2023 Modified Files: src/usr.bin/make: Makefile Log Message: make: on cleandir, clean the unit-tests as well To generate a diff of this commit: cvs rdiff -u -r1.125 -r1.126 src/usr.bin/make/Makefile

CVS commit: src/usr.bin/make

2023-12-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 10:48:10 UTC 2023 Modified Files: src/usr.bin/make: Makefile Log Message: make: on cleandir, clean the unit-tests as well To generate a diff of this commit: cvs rdiff -u -r1.125 -r1.126 src/usr.bin/make/Makefile

CVS commit: src/tests/usr.bin/indent

2023-12-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 10:02:10 UTC 2023 Modified Files: src/tests/usr.bin/indent: t_misc.sh Log Message: tests/indent: don't create an unneeded file To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/tests/usr.bin/indent

2023-12-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 10:02:10 UTC 2023 Modified Files: src/tests/usr.bin/indent: t_misc.sh Log Message: tests/indent: don't create an unneeded file To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/usr.bin/error

2023-12-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 09:46:57 UTC 2023 Modified Files: src/usr.bin/error: error.1 Log Message: error.1: fix markup To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/usr.bin/error/error.1 Please note that diffs are not

CVS commit: src/usr.bin/error

2023-12-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 09:46:57 UTC 2023 Modified Files: src/usr.bin/error: error.1 Log Message: error.1: fix markup To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/usr.bin/error/error.1 Please note that diffs are not

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

2023-12-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 09:44:00 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: check-expect.lua cond-op-and.mk cond-op-or.mk deptgt.mk directive-export-gmake.mk directive-for-errors.mk directive-warning.mk Log

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

2023-12-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 09:17:16 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: directive-include-guard.exp directive-include-guard.mk Log Message: tests/make: add tests for spacing in multiple-inclusion guards To

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

2023-12-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 09:17:16 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: directive-include-guard.exp directive-include-guard.mk Log Message: tests/make: add tests for spacing in multiple-inclusion guards To

CVS commit: src/usr.bin/make

2023-12-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 09:02:26 UTC 2023 Modified Files: src/usr.bin/make: main.c make.h meta.c Log Message: make: clean up unused return value of str2Lst_Append No functional change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2023-12-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 09:02:26 UTC 2023 Modified Files: src/usr.bin/make: main.c make.h meta.c Log Message: make: clean up unused return value of str2Lst_Append No functional change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2023-12-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 08:53:55 UTC 2023 Modified Files: src/usr.bin/make: cond.c dir.c hash.c hash.h job.c main.c parse.c suff.c var.c src/usr.bin/make/unit-tests: directive-include-guard.mk Log Message: make: clean up

CVS commit: src/usr.bin/make

2023-12-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 08:53:55 UTC 2023 Modified Files: src/usr.bin/make: cond.c dir.c hash.c hash.h job.c main.c parse.c suff.c var.c src/usr.bin/make/unit-tests: directive-include-guard.mk Log Message: make: clean up

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

2023-12-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 00:19:11 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: varmod-match.exp varmod-match.mk Log Message: tests/make: add basic tests for the ':M' modifier To generate a diff of this commit: cvs rdiff -u -r1.12

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

2023-12-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 17 00:19:11 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: varmod-match.exp varmod-match.mk Log Message: tests/make: add basic tests for the ':M' modifier To generate a diff of this commit: cvs rdiff -u -r1.12

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

2023-12-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 16 23:40:33 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: varmod-match.exp Log Message: tests/make: fix line numbers in expected test output for ':M' To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

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

2023-12-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 16 23:40:33 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: varmod-match.exp Log Message: tests/make: fix line numbers in expected test output for ':M' To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

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

2023-12-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 16 23:38:35 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: varmod-match.exp varmod-match.mk Log Message: tests/make: reorganize tests for the ':M' modifier Add a table of contents. Group the existing tests into

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

2023-12-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 16 23:38:35 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: varmod-match.exp varmod-match.mk Log Message: tests/make: reorganize tests for the ':M' modifier Add a table of contents. Group the existing tests into

CVS commit: src/usr.bin/make

2023-12-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 16 21:26:07 UTC 2023 Modified Files: src/usr.bin/make: str.c Log Message: make: eliminate a local variable in Str_Match No functional change. To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100

CVS commit: src/usr.bin/make

2023-12-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Dec 16 21:26:07 UTC 2023 Modified Files: src/usr.bin/make: str.c Log Message: make: eliminate a local variable in Str_Match No functional change. To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100

CVS commit: src/usr.bin/make

2023-12-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 10 20:17:24 UTC 2023 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: vardebug.exp varname-dot-shell.exp Log Message: make: explain in the debug log why a variable assignment is ignored To

CVS commit: src/usr.bin/make

2023-12-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 10 20:17:24 UTC 2023 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: vardebug.exp varname-dot-shell.exp Log Message: make: explain in the debug log why a variable assignment is ignored To

CVS commit: src/usr.bin/make

2023-12-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 10 20:12:28 UTC 2023 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: cond-late.exp cond-late.mk varmod-ifelse.exp varmod-ifelse.mk Log Message: make: remove redundant text from

CVS commit: src/usr.bin/make

2023-12-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 10 20:12:28 UTC 2023 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: cond-late.exp cond-late.mk varmod-ifelse.exp varmod-ifelse.mk Log Message: make: remove redundant text from

CVS commit: src/usr.bin/make

2023-12-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 10 20:03:30 UTC 2023 Modified Files: src/usr.bin/make: var.c Log Message: make: clean up the check for command line variables It looked suspicious that to check whether a variable was set via the command line, the

CVS commit: src/usr.bin/make

2023-12-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 10 20:03:30 UTC 2023 Modified Files: src/usr.bin/make: var.c Log Message: make: clean up the check for command line variables It looked suspicious that to check whether a variable was set via the command line, the

CVS commit: src/usr.bin/make

2023-12-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 10 19:56:53 UTC 2023 Modified Files: src/usr.bin/make: var.c Log Message: make: clean up comments and local identifiers No binary change, except for line numbers in assertions. To generate a diff of this commit: cvs

CVS commit: src/usr.bin/make

2023-12-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 10 19:56:53 UTC 2023 Modified Files: src/usr.bin/make: var.c Log Message: make: clean up comments and local identifiers No binary change, except for line numbers in assertions. To generate a diff of this commit: cvs

CVS commit: src/usr.bin/make

2023-12-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 10 18:59:50 UTC 2023 Modified Files: src/usr.bin/make: var.c Log Message: make: document how to trigger a use-after-free bug Since 2017-02-01. To generate a diff of this commit: cvs rdiff -u -r1.1077 -r1.1078

<    4   5   6   7   8   9   10   11   12   13   >