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

2023-08-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Aug 15 21:27:09 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: cond-op-and.mk cond-op-or.mk Log Message: tests/make: show that '||' and '&&' must be preceded by whitespace To generate a diff of this commit: cvs rdiff

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

2023-08-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Aug 15 21:27:09 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: cond-op-and.mk cond-op-or.mk Log Message: tests/make: show that '||' and '&&' must be preceded by whitespace To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/xlint

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 21:32:16 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: emit1.c src/usr.bin/xlint/lint2: emit2.c Log Message: lint: clean up comments There's no output buffer anymore. To generate a diff of this commit:

CVS commit: src/usr.bin/xlint

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 21:32:16 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: emit1.c src/usr.bin/xlint/lint2: emit2.c Log Message: lint: clean up comments There's no output buffer anymore. To generate a diff of this commit:

CVS commit: src/usr.bin/xlint

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 21:08:38 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: emit1.c src/usr.bin/xlint/lint2: emit2.c Log Message: lint: remove redundant comments To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75

CVS commit: src/usr.bin/xlint

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 21:08:38 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: emit1.c src/usr.bin/xlint/lint2: emit2.c Log Message: lint: remove redundant comments To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75

CVS commit: src/usr.bin/xlint

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 20:48:24 UTC 2023 Modified Files: src/usr.bin/xlint/common: emit.c externs.h src/usr.bin/xlint/lint1: emit1.c mem1.c src/usr.bin/xlint/lint2: emit2.c Log Message: lint: for each record in the output

CVS commit: src/usr.bin/xlint

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 20:48:24 UTC 2023 Modified Files: src/usr.bin/xlint/common: emit.c externs.h src/usr.bin/xlint/lint1: emit1.c mem1.c src/usr.bin/xlint/lint2: emit2.c Log Message: lint: for each record in the output

CVS commit: src/usr.bin/xlint

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 18:05:52 UTC 2023 Modified Files: src/usr.bin/xlint/common: lint.h src/usr.bin/xlint/lint1: cgram.y check-msgs.lua Log Message: lint: clean up To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

CVS commit: src/usr.bin/xlint

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 18:05:52 UTC 2023 Modified Files: src/usr.bin/xlint/common: lint.h src/usr.bin/xlint/lint1: cgram.y check-msgs.lua Log Message: lint: clean up To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

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

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 17:13:28 UTC 2023 Modified Files: src/usr.bin/xlint/common: emit.c Log Message: lint: remove unnecessary double-buffering for output files To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23

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

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 17:13:28 UTC 2023 Modified Files: src/usr.bin/xlint/common: emit.c Log Message: lint: remove unnecessary double-buffering for output files To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23

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

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 06:43:16 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: clean up lexing of preprocessing lines The relation between 'c' and 'cp' was tricky to follow. No functional change. To generate a

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

2023-08-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 12 06:43:16 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: clean up lexing of preprocessing lines The relation between 'c' and 'cp' was tricky to follow. No functional change. To generate a

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

2023-08-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 11 05:01:12 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: cond-func-empty.mk Log Message: tests/make: fix grammar in a test comment To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

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

2023-08-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 11 05:01:12 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: cond-func-empty.mk Log Message: tests/make: fix grammar in a test comment To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: src/usr.bin/make

2023-08-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 11 04:56:31 UTC 2023 Modified Files: src/usr.bin/make: cond.c src/usr.bin/make/unit-tests: directive-include-guard.exp directive-include-guard.mk Log Message: make: clean up multiple-inclusion guards

CVS commit: src/usr.bin/make

2023-08-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 11 04:56:31 UTC 2023 Modified Files: src/usr.bin/make: cond.c src/usr.bin/make/unit-tests: directive-include-guard.exp directive-include-guard.mk Log Message: make: clean up multiple-inclusion guards

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

2023-08-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 11 04:27:49 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: check-expect.lua msg_255.c Log Message: tests/lint: test parsing of preprocessing directives To generate a diff of this commit: cvs rdiff -u -r1.7

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

2023-08-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 11 04:27:49 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: check-expect.lua msg_255.c Log Message: tests/lint: test parsing of preprocessing directives To generate a diff of this commit: cvs rdiff -u -r1.7

CVS commit: src/usr.bin/base64

2023-08-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 11 02:49:28 UTC 2023 Modified Files: src/usr.bin/base64: base64.c Log Message: base64: fix double fclose Input errors are currently not reported, therefore no user-visible change. To generate a diff of this commit: cvs

CVS commit: src/usr.bin/base64

2023-08-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 11 02:49:28 UTC 2023 Modified Files: src/usr.bin/base64: base64.c Log Message: base64: fix double fclose Input errors are currently not reported, therefore no user-visible change. To generate a diff of this commit: cvs

CVS commit: src/usr.bin/base64

2023-08-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 11 02:43:59 UTC 2023 Modified Files: src/usr.bin/base64: Makefile base64.c Log Message: base64: nix trailing whitespace and redundant braces, strict bool mode No binary change. To generate a diff of this commit: cvs

CVS commit: src/usr.bin/base64

2023-08-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 11 02:43:59 UTC 2023 Modified Files: src/usr.bin/base64: Makefile base64.c Log Message: base64: nix trailing whitespace and redundant braces, strict bool mode No binary change. To generate a diff of this commit: cvs

CVS commit: src

2023-08-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Aug 8 20:15:11 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: msg_132_ilp32.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: in -a mode, do not warn about integer conversions from 'int' Since tree.c

CVS commit: src

2023-08-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Aug 8 20:15:11 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: msg_132_ilp32.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: in -a mode, do not warn about integer conversions from 'int' Since tree.c

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

2023-08-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Aug 8 19:57:23 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: msg_132_ilp32.c Log Message: tests/lint: test integer conversions on ilp32 int platforms To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

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

2023-08-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Aug 8 19:57:23 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: msg_132_ilp32.c Log Message: tests/lint: test integer conversions on ilp32 int platforms To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

Restoring pointers after realloc (was: Re: CVS commit: src/share/mk)

2023-08-07 Thread Roland Illig
Am 07.08.2023 um 23:58 schrieb Tobias Nygren: > Is this sort of fix acceptable for the above cases? > > + ptrdiff_t offset = pos - buf; > new_buf = realloc(buf, buf_size); > - pos = new_buf + (pos - buf); > + pos = new_buf + offset; Yes. Instead of ptrdiff_t, I prefer to use

CVS commit: src

2023-08-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 7 22:30:39 UTC 2023 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: msg_247.c msg_247_ilp32_ldbl64.c msg_247_lp64_ldbl128.c msg_247_portable.c Added Files:

CVS commit: src

2023-08-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 7 22:30:39 UTC 2023 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: msg_247.c msg_247_ilp32_ldbl64.c msg_247_lp64_ldbl128.c msg_247_portable.c Added Files:

CVS commit: src

2023-08-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 6 19:44:50 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: c11_generic_expression.c d_c99_bool_strict_syshdr.c d_fold_test.c expr_cast.c lang_level_c99.c msg_109.c msg_126.c msg_132.c

CVS commit: src

2023-08-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 6 19:44:50 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: c11_generic_expression.c d_c99_bool_strict_syshdr.c d_fold_test.c expr_cast.c lang_level_c99.c msg_109.c msg_126.c msg_132.c

CVS commit: src

2023-08-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 6 19:31:06 UTC 2023 Modified Files: src/distrib/sets/lists/tests: mi Added Files: src/tests/usr.bin/xlint/lint1: lang_level_c99.c Log Message: tests/lint: document how much of C99 lint already implements To

CVS commit: src

2023-08-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Aug 6 19:31:06 UTC 2023 Modified Files: src/distrib/sets/lists/tests: mi Added Files: src/tests/usr.bin/xlint/lint1: lang_level_c99.c Log Message: tests/lint: document how much of C99 lint already implements To

CVS commit: src

2023-08-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 5 10:13:39 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: expr_sizeof.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: implement __builtin_offsetof for the simplest cases Cases not covered: 1. C99

CVS commit: src

2023-08-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 5 10:13:39 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: expr_sizeof.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: implement __builtin_offsetof for the simplest cases Cases not covered: 1. C99

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

2023-08-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 5 10:00:59 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: d_packed_structs.c Log Message: tests/lint: fix test for packed structs on 32-bit platforms To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

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

2023-08-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 5 10:00:59 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: d_packed_structs.c Log Message: tests/lint: fix test for packed structs on 32-bit platforms To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

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

2023-08-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 5 09:44:18 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint2: msg_013.exp msg_013.ln Log Message: tests/lint: test C99 printf conversion specifiers in lint2 To generate a diff of this commit: cvs rdiff -u -r1.1

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

2023-08-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Aug 5 09:44:18 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint2: msg_013.exp msg_013.ln Log Message: tests/lint: test C99 printf conversion specifiers in lint2 To generate a diff of this commit: cvs rdiff -u -r1.1

CVS commit: src

2023-08-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 3 18:48:42 UTC 2023 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: c11.c t_usage.sh src/usr.bin/xlint/lint1: cgram.y err.c Added Files:

CVS commit: src

2023-08-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 3 18:48:42 UTC 2023 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: c11.c t_usage.sh src/usr.bin/xlint/lint1: cgram.y err.c Added Files:

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

2023-08-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 2 21:58:12 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: debug.c decl.c externs1.h Log Message: lint: remove unused string literals To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61

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

2023-08-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 2 21:58:12 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: debug.c decl.c externs1.h Log Message: lint: remove unused string literals To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61

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

2023-08-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 2 21:26:12 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: do not return bogus types for unnamed function parameters Since decl.c 1.18 from 2000-07-05, lint has returned bogus type

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

2023-08-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 2 21:26:12 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: do not return bogus types for unnamed function parameters Since decl.c 1.18 from 2000-07-05, lint has returned bogus type

CVS commit: src

2023-08-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 2 21:11:36 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: decl_direct_abstract.c msg_347.c parse_type_name.c src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h Log Message: lint: fix handling

CVS commit: src

2023-08-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 2 21:11:36 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: decl_direct_abstract.c msg_347.c parse_type_name.c src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h Log Message: lint: fix handling

CVS commit: src

2023-08-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 2 18:57:54 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: msg_150.c msg_346.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix plural form in message 150 To generate a diff of this commit: cvs

CVS commit: src

2023-08-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 2 18:57:54 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: msg_150.c msg_346.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix plural form in message 150 To generate a diff of this commit: cvs

CVS commit: src

2023-08-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 2 18:51:25 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c d_c99_bool_strict_syshdr.c d_c99_decls_after_stmt.c d_decl_old_style_arguments.c d_lint_assert.c decl_arg.c

CVS commit: src

2023-08-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 2 18:51:25 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c d_c99_bool_strict_syshdr.c d_c99_decls_after_stmt.c d_decl_old_style_arguments.c d_lint_assert.c decl_arg.c

CVS commit: src

2023-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 2 05:44:27 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: decl_arg.c src/usr.bin/xlint/lint1: decl.c Log Message: lint: simplify handling of old-style arguments To generate a diff of this commit: cvs

CVS commit: src

2023-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Aug 2 05:44:27 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: decl_arg.c src/usr.bin/xlint/lint1: decl.c Log Message: lint: simplify handling of old-style arguments To generate a diff of this commit: cvs

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

2023-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Aug 1 19:57:38 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: decl.c lint1.h Log Message: lint: clear global variable 'dcs' after use Having unnecessarily set members is confusing during debugging. To generate a diff

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

2023-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Aug 1 19:57:38 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: decl.c lint1.h Log Message: lint: clear global variable 'dcs' after use Having unnecessarily set members is confusing during debugging. To generate a diff

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

2023-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Aug 1 19:52:16 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: d_packed_structs.c decl.c Log Message: tests/lint: test packed and in-parameter declarations To generate a diff of this commit: cvs rdiff -u -r1.4

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

2023-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Aug 1 19:52:16 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: d_packed_structs.c decl.c Log Message: tests/lint: test packed and in-parameter declarations To generate a diff of this commit: cvs rdiff -u -r1.4

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

2023-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Aug 1 16:08:58 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: cgram.y debug.c decl.c externs1.h lex.c Log Message: lint: improve debug logging for declarators To generate a diff of this commit: cvs rdiff -u -r1.466

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

2023-08-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Aug 1 16:08:58 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: cgram.y debug.c decl.c externs1.h lex.c Log Message: lint: improve debug logging for declarators To generate a diff of this commit: cvs rdiff -u -r1.466

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

2023-07-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jul 31 20:52:26 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: decl.c Log Message: tests/lint: test symbol lookup in unnamed bit-field member declaration To generate a diff of this commit: cvs rdiff -u -r1.24

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

2023-07-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jul 31 20:52:26 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: decl.c Log Message: tests/lint: test symbol lookup in unnamed bit-field member declaration To generate a diff of this commit: cvs rdiff -u -r1.24

CVS commit: src

2023-07-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jul 31 20:31:58 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: decl.c src/usr.bin/xlint/lint1: decl.c Log Message: lint: fix assertion failure after unnamed bit-field member Since 2023-07-15. To generate a

CVS commit: src

2023-07-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jul 31 20:31:58 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: decl.c src/usr.bin/xlint/lint1: decl.c Log Message: lint: fix assertion failure after unnamed bit-field member Since 2023-07-15. To generate a

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

2023-07-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 30 22:38:10 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: increase debug logging for declarations, constify Lint doesn't parse declarators correctly, see msg_347.c, and fixing this part is

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

2023-07-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 30 22:38:10 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: increase debug logging for declarations, constify Lint doesn't parse declarators correctly, see msg_347.c, and fixing this part is

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

2023-07-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 30 22:27:21 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: debug.c externs1.h init.c lex.c Log Message: lint: in debug mode, default to indenting the debug log Only the 'parsing' lines are not indented, as line breaks

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

2023-07-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 30 22:27:21 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: debug.c externs1.h init.c lex.c Log Message: lint: in debug mode, default to indenting the debug log Only the 'parsing' lines are not indented, as line breaks

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

2023-07-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 30 20:12:35 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: remove outdated comment (since decl.c 1.6 from 1995-10-02) To generate a diff of this commit: cvs rdiff -u -r1.367 -r1.368

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

2023-07-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 30 20:12:35 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: remove outdated comment (since decl.c 1.6 from 1995-10-02) To generate a diff of this commit: cvs rdiff -u -r1.367 -r1.368

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

2023-07-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 30 08:58:54 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: debug.c mem1.c Log Message: lint: in memory debug mode, log the type of the nodes First log all objects to be freed, then free them all at once. This allows

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

2023-07-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 30 08:58:54 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: debug.c mem1.c Log Message: lint: in memory debug mode, log the type of the nodes First log all objects to be freed, then free them all at once. This allows

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

2023-07-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 29 11:03:19 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: eliminate redundant code No functional change. To generate a diff of this commit: cvs rdiff -u -r1.366 -r1.367

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

2023-07-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 29 11:03:19 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: eliminate redundant code No functional change. To generate a diff of this commit: cvs rdiff -u -r1.366 -r1.367

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

2023-07-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 29 10:45:00 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: Makefile err.c main1.c Log Message: lint1: remove option -m The list of lint messages is only needed for generating the manual page lint.7. Since 2022-07-06,

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

2023-07-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 29 10:45:00 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: Makefile err.c main1.c Log Message: lint1: remove option -m The list of lint messages is only needed for generating the manual page lint.7. Since 2022-07-06,

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

2023-07-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 29 10:34:24 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: Makefile lint1.h Log Message: lint: only generate err-msgs.h in debug mode To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101

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

2023-07-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 29 10:34:24 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: Makefile lint1.h Log Message: lint: only generate err-msgs.h in debug mode To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101

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

2023-07-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 29 10:22:50 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: mem1.c Log Message: lint: fix use-after-free in memory debug mode A node may be allocated before its type. Since the objects are freed in reverse allocation

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

2023-07-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 29 10:22:50 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: mem1.c Log Message: lint: fix use-after-free in memory debug mode A node may be allocated before its type. Since the objects are freed in reverse allocation

CVS commit: src

2023-07-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 29 07:49:15 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: gcc_init_compound_literal.c src/usr.bin/xlint/lint1: decl.c externs1.h func.c main1.c Log Message: lint: condense code for ending a function No

CVS commit: src

2023-07-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 29 07:49:15 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: gcc_init_compound_literal.c src/usr.bin/xlint/lint1: decl.c externs1.h func.c main1.c Log Message: lint: condense code for ending a function No

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

2023-07-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 29 07:26:53 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: decl.c externs1.h Log Message: lint: constify To generate a diff of this commit: cvs rdiff -u -r1.364 -r1.365 src/usr.bin/xlint/lint1/decl.c cvs rdiff -u

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

2023-07-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 29 07:26:53 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: decl.c externs1.h Log Message: lint: constify To generate a diff of this commit: cvs rdiff -u -r1.364 -r1.365 src/usr.bin/xlint/lint1/decl.c cvs rdiff -u

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

2023-07-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 29 07:03:19 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: remove forward declarations for functions No functional change. To generate a diff of this commit: cvs rdiff -u -r1.363 -r1.364

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

2023-07-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 29 07:03:19 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: remove forward declarations for functions No functional change. To generate a diff of this commit: cvs rdiff -u -r1.363 -r1.364

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

2023-07-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 29 06:44:44 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: externs1.h main1.c Log Message: lint: use standard function attribute for noreturn functions To generate a diff of this commit: cvs rdiff -u -r1.199 -r1.200

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

2023-07-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 29 06:44:44 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: externs1.h main1.c Log Message: lint: use standard function attribute for noreturn functions To generate a diff of this commit: cvs rdiff -u -r1.199 -r1.200

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

2023-07-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jul 28 22:05:44 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: c11.c c23.c Log Message: tests/lint: test declarations in C11 and C23 To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

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

2023-07-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jul 28 22:05:44 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: c11.c c23.c Log Message: tests/lint: test declarations in C11 and C23 To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

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

2023-07-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jul 28 21:50:03 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: cgram.y debug.c decl.c externs1.h lint1.h Log Message: lint: extract 'vararg' and 'prototype' flags from global 'dcs' These flags are only relevant for

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

2023-07-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jul 28 21:50:03 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: cgram.y debug.c decl.c externs1.h lint1.h Log Message: lint: extract 'vararg' and 'prototype' flags from global 'dcs' These flags are only relevant for

CVS commit: src

2023-07-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jul 25 16:56:35 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: c23.c src/usr.bin/xlint/lint1: decl.c Log Message: lint: allow 'thread_local' to be combined with 'static' To generate a diff of this commit:

CVS commit: src

2023-07-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jul 25 16:56:35 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: c23.c src/usr.bin/xlint/lint1: decl.c Log Message: lint: allow 'thread_local' to be combined with 'static' To generate a diff of this commit:

CVS commit: src

2023-07-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jul 21 06:02:07 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: init_braces.c msg_024.c msg_181.c msg_319.c src/usr.bin/xlint/lint1: err.c init.c Log Message: lint: reword message about

CVS commit: src

2023-07-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jul 21 06:02:07 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: init_braces.c msg_024.c msg_181.c msg_319.c src/usr.bin/xlint/lint1: err.c init.c Log Message: lint: reword message about

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

2023-07-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jul 21 05:51:12 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: msg_181.c Log Message: tests/lint: document an example of a non-constant initializer To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

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

2023-07-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jul 21 05:51:12 UTC 2023 Modified Files: src/tests/usr.bin/xlint/lint1: msg_181.c Log Message: tests/lint: document an example of a non-constant initializer To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

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

2023-07-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jul 19 22:24:28 UTC 2023 Modified Files: src/usr.bin/xlint/lint1: lint1.h Log Message: lint: work around a possible compiler error on arm and powerpc To generate a diff of this commit: cvs rdiff -u -r1.194 -r1.195

<    7   8   9   10   11   12   13   14   15   16   >