CVS commit: src

2024-02-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Feb 7 07:42:50 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: platform_lp64_trad.c src/usr.bin/xlint/lint1: lex.c Log Message: lint: unify rules for determining the type of an integer constant Previously,

CVS commit: src/usr.bin/make

2024-02-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Feb 7 07:21:22 UTC 2024 Modified Files: src/usr.bin/make: cond.c Log Message: make: remove redundant comments No functional change. To generate a diff of this commit: cvs rdiff -u -r1.361 -r1.362 src/usr.bin/make/cond.c

CVS commit: src/usr.bin/make

2024-02-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Feb 7 07:21:22 UTC 2024 Modified Files: src/usr.bin/make: cond.c Log Message: make: remove redundant comments No functional change. To generate a diff of this commit: cvs rdiff -u -r1.361 -r1.362 src/usr.bin/make/cond.c

CVS commit: src/usr.bin/make

2024-02-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Feb 7 06:43:02 UTC 2024 Modified Files: src/usr.bin/make: arch.c config.h main.c parse.c suff.c var.c Log Message: make: remove unneeded conditional-compilation toggles The toggles INCLUDES, LIBRARIES, POSIX, SYSVINCLUDE,

CVS commit: src/usr.bin/make

2024-02-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Feb 7 06:43:02 UTC 2024 Modified Files: src/usr.bin/make: arch.c config.h main.c parse.c suff.c var.c Log Message: make: remove unneeded conditional-compilation toggles The toggles INCLUDES, LIBRARIES, POSIX, SYSVINCLUDE,

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

2024-02-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 6 22:47:21 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: Makefile check-msgs.lua err.c makeman Log Message: lint: tab-align message numbers in err.c By replacing block comments with end-of-line comments, the

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

2024-02-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 6 22:47:21 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: Makefile check-msgs.lua err.c makeman Log Message: lint: tab-align message numbers in err.c By replacing block comments with end-of-line comments, the

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

2024-02-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 6 21:28:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: makeman Log Message: lint.7: remove implementation details from message list >From a user's perspective, it's irrelevant whether a lint message is generated

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

2024-02-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 6 21:28:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: makeman Log Message: lint.7: remove implementation details from message list >From a user's perspective, it's irrelevant whether a lint message is generated

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

2024-02-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 5 23:11:23 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: README.md cgram.y ckctype.c ckgetopt.c debug.c emit1.c externs1.h lint1.h op.h oper.c tree.c Log Message: lint: make function call arguments

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

2024-02-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 5 23:11:23 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: README.md cgram.y ckctype.c ckgetopt.c debug.c emit1.c externs1.h lint1.h op.h oper.c tree.c Log Message: lint: make function call arguments

CVS commit: src/usr.bin/make

2024-02-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 4 10:03:10 UTC 2024 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmod-indirect.exp varmod-indirect.mk Log Message: make: do not evaluate indirect modifiers in parse-only mode Discovered

CVS commit: src/usr.bin/make

2024-02-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 4 10:03:10 UTC 2024 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmod-indirect.exp varmod-indirect.mk Log Message: make: do not evaluate indirect modifiers in parse-only mode Discovered

CVS commit: src/usr.bin/make

2024-02-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 4 09:56:24 UTC 2024 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmod-indirect.exp varmod-indirect.mk Log Message: make: in parse-only mode, don't evaluate modifiers Previously, the

CVS commit: src/usr.bin/make

2024-02-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 4 09:56:24 UTC 2024 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmod-indirect.exp varmod-indirect.mk Log Message: make: in parse-only mode, don't evaluate modifiers Previously, the

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

2024-02-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 4 09:29:50 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: varmod-indirect.exp varmod-indirect.mk Log Message: tests/make: extend test for wrong evaluation in parse-only mode To generate a diff of this commit:

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

2024-02-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 4 09:29:50 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: varmod-indirect.exp varmod-indirect.mk Log Message: tests/make: extend test for wrong evaluation in parse-only mode To generate a diff of this commit:

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

2024-02-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 4 08:51:57 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: varmod-indirect.exp varmod-indirect.mk Log Message: tests/make: indirect modifiers are evaluated in parse-only mode Found by sjg@. To generate a diff of

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

2024-02-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 4 08:51:57 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: varmod-indirect.exp varmod-indirect.mk Log Message: tests/make: indirect modifiers are evaluated in parse-only mode Found by sjg@. To generate a diff of

CVS commit: src

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 20:10:11 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: msg_077.c t_usage.sh src/usr.bin/xlint/lint1: err.c lex.c Added Files:

CVS commit: src

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 20:10:11 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: msg_077.c t_usage.sh src/usr.bin/xlint/lint1: err.c lex.c Added Files:

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

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 19:37:02 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lint1.h main1.c Log Message: lint: remove excessive empty lines To generate a diff of this commit: cvs rdiff -u -r1.212 -r1.213

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

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 19:37:02 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lint1.h main1.c Log Message: lint: remove excessive empty lines To generate a diff of this commit: cvs rdiff -u -r1.212 -r1.213

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

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 19:25:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c debug.c emit1.c externs1.h init.c lex.c lint1.h tree.c Log Message: lint: keep strings in their source representation This allows

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

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 19:25:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c debug.c emit1.c externs1.h init.c lex.c lint1.h tree.c Log Message: lint: keep strings in their source representation This allows

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

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 19:18:36 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_074.c msg_075.c Log Message: tests/lint: extend tests for hexadecimal character escapes To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

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

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 19:18:36 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_074.c msg_075.c Log Message: tests/lint: extend tests for hexadecimal character escapes To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 18:58:05 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_075.c src/usr.bin/xlint/lint1: lex.c Log Message: lint: allow hexadecimal character escapes up to UINT_MAX Previously, any value larger than

CVS commit: src

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 18:58:05 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_075.c src/usr.bin/xlint/lint1: lex.c Log Message: lint: allow hexadecimal character escapes up to UINT_MAX Previously, any value larger than

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

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 12:57:12 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckbool.c ckgetopt.c decl.c emit1.c externs1.h func.c lex.c main1.c Log Message: lint: clean up comments, reduce scope of variables To generate a

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

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 12:57:12 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckbool.c ckgetopt.c decl.c emit1.c externs1.h func.c lex.c main1.c Log Message: lint: clean up comments, reduce scope of variables To generate a

CVS commit: src

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 10:56:18 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: lex_utf8.c src/usr.bin/xlint/lint1: lex.c Log Message: lint: remove unused code for converting multibyte character sequences To generate a diff

CVS commit: src

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 10:56:18 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: lex_utf8.c src/usr.bin/xlint/lint1: lex.c Log Message: lint: remove unused code for converting multibyte character sequences To generate a diff

CVS commit: src/lib/libc/locale

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 10:55:38 UTC 2024 Modified Files: src/lib/libc/locale: mblen.3 Log Message: mblen.3: clean up wording and grammar To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libc/locale/mblen.3 Please note

CVS commit: src/lib/libc/locale

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 10:55:38 UTC 2024 Modified Files: src/lib/libc/locale: mblen.3 Log Message: mblen.3: clean up wording and grammar To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libc/locale/mblen.3 Please note

CVS commit: src

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 10:01:59 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_075.c msg_076.c src/usr.bin/xlint/lint1: lex.c Log Message: lint: allow larger numbers in escapes for wide characters and strings To

CVS commit: src

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 10:01:59 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_075.c msg_076.c src/usr.bin/xlint/lint1: lex.c Log Message: lint: allow larger numbers in escapes for wide characters and strings To

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

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 09:36:14 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_076.c Log Message: tests/lint: test octal escapes in character and wide strings To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

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

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 09:36:14 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_076.c Log Message: tests/lint: test octal escapes in character and wide strings To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src

2024-02-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 2 23:36:01 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: lex_utf8.c src/usr.bin/xlint/lint1: main1.c Log Message: lint: use the locale for interpreting wide character strings To generate a diff of

CVS commit: src

2024-02-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 2 23:36:01 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: lex_utf8.c src/usr.bin/xlint/lint1: main1.c Log Message: lint: use the locale for interpreting wide character strings To generate a diff of

CVS commit: src

2024-02-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 2 23:30:39 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: t_integration.sh Added Files: src/tests/usr.bin/xlint/lint1: lex_utf8.c Log Message: tests/lint: test

CVS commit: src

2024-02-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 2 23:30:39 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: t_integration.sh Added Files: src/tests/usr.bin/xlint/lint1: lex_utf8.c Log Message: tests/lint: test

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

2024-02-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 2 22:45:48 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: lex_wide_string.c Log Message: tests/lint: add UTF-8 test for string literals To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

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

2024-02-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 2 22:45:48 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: lex_wide_string.c Log Message: tests/lint: add UTF-8 test for string literals To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src

2024-02-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 2 19:07:58 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: lex_char.c msg_074.c msg_075.c msg_076.c msg_079.c msg_080.c msg_081.c msg_082.c msg_254.c msg_258.c

CVS commit: src

2024-02-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 2 19:07:58 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: lex_char.c msg_074.c msg_075.c msg_076.c msg_079.c msg_080.c msg_081.c msg_082.c msg_254.c msg_258.c

CVS commit: src

2024-02-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 2 16:25:59 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_254.c src/usr.bin/xlint/common: externs.h tyname.c src/usr.bin/xlint/lint1: debug.c Log Message: lint: fix debug output for strings,

CVS commit: src

2024-02-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 2 16:25:59 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_254.c src/usr.bin/xlint/common: externs.h tyname.c src/usr.bin/xlint/lint1: debug.c Log Message: lint: fix debug output for strings,

CVS commit: src

2024-02-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 2 16:05:37 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_253.c msg_258.c src/usr.bin/xlint/lint1: cgram.y lex.c Log Message: lint: make newline in a string literal an error in C90 and later To

CVS commit: src

2024-02-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 2 16:05:37 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: msg_253.c msg_258.c src/usr.bin/xlint/lint1: cgram.y lex.c Log Message: lint: make newline in a string literal an error in C90 and later To

CVS commit: src/lib/libutil

2024-02-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 1 22:18:34 UTC 2024 Modified Files: src/lib/libutil: snprintb.3 Log Message: snprintb.3: fix examples, clean up wording In the examples using hex escape sequences, there must be a delimiter between the escape sequence

CVS commit: src/lib/libutil

2024-02-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 1 22:18:34 UTC 2024 Modified Files: src/lib/libutil: snprintb.3 Log Message: snprintb.3: fix examples, clean up wording In the examples using hex escape sequences, there must be a delimiter between the escape sequence

CVS commit: src/usr.bin/xlint

2024-02-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 1 21:19:13 UTC 2024 Modified Files: src/usr.bin/xlint/common: externs.h tyname.c src/usr.bin/xlint/lint1: lex.c tree.c Log Message: lint: reuse buffer editing code across lint1 Fix cat_strings to update the

CVS commit: src/usr.bin/xlint

2024-02-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 1 21:19:13 UTC 2024 Modified Files: src/usr.bin/xlint/common: externs.h tyname.c src/usr.bin/xlint/lint1: lex.c tree.c Log Message: lint: reuse buffer editing code across lint1 Fix cat_strings to update the

CVS commit: src/usr.bin/xlint

2024-02-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 1 18:37:07 UTC 2024 Modified Files: src/usr.bin/xlint/common: lint.h tyname.c src/usr.bin/xlint/lint1: cgram.y ckgetopt.c debug.c emit1.c externs1.h init.c lex.c lint1.h tree.c Log Message: lint: use

CVS commit: src/usr.bin/xlint

2024-02-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 1 18:37:07 UTC 2024 Modified Files: src/usr.bin/xlint/common: lint.h tyname.c src/usr.bin/xlint/lint1: cgram.y ckgetopt.c debug.c emit1.c externs1.h init.c lex.c lint1.h tree.c Log Message: lint: use

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

2024-01-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jan 29 21:30:25 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c debug.c emit1.c lex.c lint1.h tree.c Log Message: lint: do not remember content of wide string literals The plain char literals are

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

2024-01-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jan 29 21:30:25 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c debug.c emit1.c lex.c lint1.h tree.c Log Message: lint: do not remember content of wide string literals The plain char literals are

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

2024-01-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jan 29 21:04:21 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c Log Message: lint: check getopt call more strictly Previously, '(c = getopt(...)) != -2' would match as well. To generate a diff of this commit:

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

2024-01-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jan 29 21:04:21 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c Log Message: lint: check getopt call more strictly Previously, '(c = getopt(...)) != -2' would match as well. To generate a diff of this commit:

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

2024-01-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 28 08:54:28 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: check-expect.lua msg_019.c queries.c queries_schar.c queries_uchar.c Log Message: tests/lint: enforce diagnostics to be listed in chronologic

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

2024-01-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 28 08:54:28 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: check-expect.lua msg_019.c queries.c queries_schar.c queries_uchar.c Log Message: tests/lint: enforce diagnostics to be listed in chronologic

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

2024-01-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 28 08:26:07 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: check-expect.lua platform_ilp32_c90.c platform_ilp32_c99.c platform_ilp32_trad.c Log Message: tests/lint: sort diagnostics in ilp32 tests

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

2024-01-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 28 08:26:07 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: check-expect.lua platform_ilp32_c90.c platform_ilp32_c99.c platform_ilp32_trad.c Log Message: tests/lint: sort diagnostics in ilp32 tests

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

2024-01-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 28 08:17:27 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: accept.sh c11.c c23.c check-expect.lua d_c99_init.c decl.c decl_arg.c decl_direct_abstract.c msg_083.c msg_090.c msg_092.c

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

2024-01-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 28 08:17:27 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: accept.sh c11.c c23.c check-expect.lua d_c99_init.c decl.c decl_arg.c decl_direct_abstract.c msg_083.c msg_090.c msg_092.c

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

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 28 06:57:41 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: lex_integer_ilp32.c msg_218.c Log Message: tests/lint: fix tests for integer constants on ILP32 platforms The comment in msg_218 was both off-topic and

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

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 28 06:57:41 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: lex_integer_ilp32.c msg_218.c Log Message: tests/lint: fix tests for integer constants on ILP32 platforms The comment in msg_218 was both off-topic and

CVS commit: src/tests/lib/libutil

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 21:42:29 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/libutil/snprintb: remove redundant integer constant suffixes I added these because lint told me so. Lint was wrong though, as it

CVS commit: src/tests/lib/libutil

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 21:42:29 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/libutil/snprintb: remove redundant integer constant suffixes I added these because lint told me so. Lint was wrong though, as it

CVS commit: src

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 20:03:15 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: platform_ilp32_c90.c platform_ilp32_c99.c platform_ilp32_trad.c platform_lp64_c90.c platform_lp64_c99.c platform_lp64_trad.c

CVS commit: src

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 20:03:15 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: platform_ilp32_c90.c platform_ilp32_c99.c platform_ilp32_trad.c platform_lp64_c90.c platform_lp64_c99.c platform_lp64_trad.c

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

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 15:53:28 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: split determining the type of an integer constant No functional change. To generate a diff of this commit: cvs rdiff -u -r1.201

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

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 15:53:28 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: split determining the type of an integer constant No functional change. To generate a diff of this commit: cvs rdiff -u -r1.201

CVS commit: src

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 15:10:57 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: check-expect.lua msg_252.c Added Files: src/tests/usr.bin/xlint/lint1: platform_ilp32_c90.c

CVS commit: src

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 15:10:57 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: check-expect.lua msg_252.c Added Files: src/tests/usr.bin/xlint/lint1: platform_ilp32_c90.c

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

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 12:14:58 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: extract signedness detection from lexing an integer constant An integer constant that is signed in traditional C but unsigned since

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

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 12:14:58 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: extract signedness detection from lexing an integer constant An integer constant that is signed in traditional C but unsigned since

CVS commit: src/tests/lib/libutil

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 10:32:03 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/libutil/snprintb: fix test for 32-bit platforms To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/tests/lib/libutil

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 10:32:03 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/libutil/snprintb: fix test for 32-bit platforms To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/tests/lib/libutil

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 08:54:15 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/libutil/snprintb: add more tests Test all number bases (octal, decimal, hexadecimal), in both old-style and new-style formats,

CVS commit: src/tests/lib/libutil

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 08:54:15 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/libutil/snprintb: add more tests Test all number bases (octal, decimal, hexadecimal), in both old-style and new-style formats,

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

2024-01-25 Thread Roland Illig
About optional arguments to modifiers, such as in ${VAR:U}: Am 25.01.2024 um 20:54 schrieb Simon Gerraty: > Is there perhaps a general statement somewhere (I may have missed it) > that could cover all these and be cited to pedantic users? > Eg to the effect of perhaps, unless stated otherwise

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

2024-01-25 Thread Roland Illig
Am 25.01.2024 um 14:25 schrieb Valery Ushakov: > On Thu, Jan 25, 2024 at 07:35:46 +, Simon J. Gerraty wrote: > >> Modified Files: >> src/usr.bin/make: make.1 >> >> Log Message: >> Indicate that for :U newval is optional > > I think this is more confusing than helpful. I agree. Make

CVS commit: src/tests/lib/libutil

2024-01-25 Thread Roland Illig
y Christos Zoulas. + * This code was contributed to The NetBSD Foundation by Christos Zoulas and + * Roland Illig. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -31,27 +32,58 @@ #include _

CVS commit: src/tests/lib/libutil

2024-01-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jan 25 18:13:14 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/libutil/snprintb: clean up and extend tests In case of a failure, print the details of the test case, including file and line

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

2024-01-23 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jan 23 22:07:23 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi Log Message: tests/lint: revert accidental addition of test for lint message 356 To generate a diff of this commit: cvs rdiff -u -r1.1298 -r1.1299

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

2024-01-23 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jan 23 22:07:23 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi Log Message: tests/lint: revert accidental addition of test for lint message 356 To generate a diff of this commit: cvs rdiff -u -r1.1298 -r1.1299

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

2024-01-23 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jan 23 20:03:42 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: decl.c tree.c Log Message: lint: unconst parameters These were leftovers from earlier refactorings and are no longer needed. No binary change. To generate

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

2024-01-23 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jan 23 20:03:42 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: decl.c tree.c Log Message: lint: unconst parameters These were leftovers from earlier refactorings and are no longer needed. No binary change. To generate

CVS commit: src

2024-01-23 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jan 23 19:44:29 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: decl.c src/usr.bin/xlint: Makefile.inc src/usr.bin/xlint/lint1: cgram.y debug.c decl.c externs1.h

CVS commit: src

2024-01-23 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jan 23 19:44:29 UTC 2024 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: decl.c src/usr.bin/xlint: Makefile.inc src/usr.bin/xlint/lint1: cgram.y debug.c decl.c externs1.h

CVS commit: src/lib/libutil

2024-01-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 21 22:06:46 UTC 2024 Modified Files: src/lib/libutil: snprintb.3 Log Message: snprintb.3: remove empty string literals from examples Suggested by uwe@, as gaps in bitmasks are quite common and thus shouldn't clutter the

CVS commit: src/lib/libutil

2024-01-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 21 22:06:46 UTC 2024 Modified Files: src/lib/libutil: snprintb.3 Log Message: snprintb.3: remove empty string literals from examples Suggested by uwe@, as gaps in bitmasks are quite common and thus shouldn't clutter the

CVS commit: src/lib/libutil

2024-01-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 21 21:31:23 UTC 2024 Modified Files: src/lib/libutil: snprintb.3 Log Message: snprintb.3: fix examples The first example broke the format string at boundaries that didn't highlight the structure of the format string and

CVS commit: src/lib/libutil

2024-01-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 21 21:31:23 UTC 2024 Modified Files: src/lib/libutil: snprintb.3 Log Message: snprintb.3: fix examples The first example broke the format string at boundaries that didn't highlight the structure of the format string and

Re: CVS commit: src/bin/date

2024-01-21 Thread Roland Illig
Am 21.01.2024 um 19:16 schrieb Christos Zoulas: > In article , > Valery Ushakov wrote: >> On Sun, Jan 21, 2024 at 11:55:56 -0500, Christos Zoulas wrote: >> >>> Consider providing parsedate(3) in libcompat, but then we'd need >>> yacc... >> >> We already have yacc in tools - src/tools/yacc > > I

CVS commit: src/usr.bin/make

2024-01-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 21 16:32:41 UTC 2024 Modified Files: src/usr.bin/make: cond.c Log Message: make: refactor CondParser_Term to be inlinable No functional change. To generate a diff of this commit: cvs rdiff -u -r1.360 -r1.361

CVS commit: src/usr.bin/make

2024-01-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 21 16:32:41 UTC 2024 Modified Files: src/usr.bin/make: cond.c Log Message: make: refactor CondParser_Term to be inlinable No functional change. To generate a diff of this commit: cvs rdiff -u -r1.360 -r1.361

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