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

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Nov 29 00:17:10 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: deptgt-makeflags.mk Log Message: tests/make: test escape sequences in string literals for .MAKEFLAGS These escape sequences differ from those in string

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

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Nov 29 00:17:10 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: deptgt-makeflags.mk Log Message: tests/make: test escape sequences in string literals for .MAKEFLAGS These escape sequences differ from those in string

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 23:12:51 UTC 2021 Modified Files: src/usr.bin/make: compat.c make.c make.h Log Message: make: fix a few lint warnings about type mismatch in enum comparisons These warnings were triggered with the lint flag '-e',

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 23:12:51 UTC 2021 Modified Files: src/usr.bin/make: compat.c make.c make.h Log Message: make: fix a few lint warnings about type mismatch in enum comparisons These warnings were triggered with the lint flag '-e',

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 22:58:55 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: fix type of variable in ApplyModifier_IfElse No functional change. To generate a diff of this commit: cvs rdiff -u -r1.954 -r1.955

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 22:58:55 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: fix type of variable in ApplyModifier_IfElse No functional change. To generate a diff of this commit: cvs rdiff -u -r1.954 -r1.955

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 22:48:07 UTC 2021 Modified Files: src/usr.bin/make: buf.c buf.h make.c suff.c Log Message: make: move duplicate function Buf_AddFlag to buf.c It is used only for debug output, therefore performance doesn't matter. No

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 22:48:07 UTC 2021 Modified Files: src/usr.bin/make: buf.c buf.h make.c suff.c Log Message: make: move duplicate function Buf_AddFlag to buf.c It is used only for debug output, therefore performance doesn't matter. No

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 22:38:17 UTC 2021 Modified Files: src/usr.bin/make: suff.c Log Message: make: inline SuffixFlags_ToString into Suffix_Print This gets rid of the string literal "none" and the complicated memory handling. No

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 22:38:17 UTC 2021 Modified Files: src/usr.bin/make: suff.c Log Message: make: inline SuffixFlags_ToString into Suffix_Print This gets rid of the string literal "none" and the complicated memory handling. No

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 22:27:35 UTC 2021 Modified Files: src/usr.bin/make: suff.c Log Message: make: inline SuffixFlags into the Suffix itself No functional change. To generate a diff of this commit: cvs rdiff -u -r1.352 -r1.353

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 22:27:35 UTC 2021 Modified Files: src/usr.bin/make: suff.c Log Message: make: inline SuffixFlags into the Suffix itself No functional change. To generate a diff of this commit: cvs rdiff -u -r1.352 -r1.353

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 21:46:17 UTC 2021 Modified Files: src/usr.bin/make: dir.c Log Message: make: eliminate CachedStatsFlags Having two boolean flags as parameters should be easier to understand than bit manipulations. The variable names

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 21:46:17 UTC 2021 Modified Files: src/usr.bin/make: dir.c Log Message: make: eliminate CachedStatsFlags Having two boolean flags as parameters should be easier to understand than bit manipulations. The variable names

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 20:11:45 UTC 2021 Modified Files: src/usr.bin/make: make.h Log Message: make: fix leftover typo from previous refactoring To generate a diff of this commit: cvs rdiff -u -r1.268 -r1.269 src/usr.bin/make/make.h

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 20:11:45 UTC 2021 Modified Files: src/usr.bin/make: make.h Log Message: make: fix leftover typo from previous refactoring To generate a diff of this commit: cvs rdiff -u -r1.268 -r1.269 src/usr.bin/make/make.h

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 19:51:06 UTC 2021 Modified Files: src/usr.bin/make: arch.c compat.c dir.c job.c make.c make.h targ.c Log Message: make: convert GNodeFlags from enum into bit-fields Now that Enum_ToString is implemented for each type

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 19:51:06 UTC 2021 Modified Files: src/usr.bin/make: arch.c compat.c dir.c job.c make.c make.h targ.c Log Message: make: convert GNodeFlags from enum into bit-fields Now that Enum_ToString is implemented for each type

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 18:58:58 UTC 2021 Modified Files: src/usr.bin/make: Makefile make.c make.h suff.c Removed Files: src/usr.bin/make: enum.c enum.h Log Message: make: replace bloated bit-set-to-string code with simple code It

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 18:58:58 UTC 2021 Modified Files: src/usr.bin/make: Makefile make.c make.h suff.c Removed Files: src/usr.bin/make: enum.c enum.h Log Message: make: replace bloated bit-set-to-string code with simple code It

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 17:26:07 UTC 2021 Modified Files: src/usr.bin/make: job.c Log Message: make: eliminate common subexpressions in DebugFailedJob No functional change. To generate a diff of this commit: cvs rdiff -u -r1.438 -r1.439

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 17:26:07 UTC 2021 Modified Files: src/usr.bin/make: job.c Log Message: make: eliminate common subexpressions in DebugFailedJob No functional change. To generate a diff of this commit: cvs rdiff -u -r1.438 -r1.439

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 17:20:39 UTC 2021 Modified Files: src/usr.bin/make: job.c Log Message: make: fix memory leak in jobs mode with -de (since today) To generate a diff of this commit: cvs rdiff -u -r1.437 -r1.438 src/usr.bin/make/job.c

CVS commit: src/usr.bin/make

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 17:20:39 UTC 2021 Modified Files: src/usr.bin/make: job.c Log Message: make: fix memory leak in jobs mode with -de (since today) To generate a diff of this commit: cvs rdiff -u -r1.437 -r1.438 src/usr.bin/make/job.c

Re: CVS commit: src/sbin/cgdconfig

2021-11-28 Thread Roland Illig
Am 28.11.2021 um 17:37 schrieb Jason Thorpe: On Nov 28, 2021, at 8:05 AM, Christos Zoulas wrote: 1. which compilation flag should we add -pthread to? CFLAGS or COPTS? What about c++? GCC defines some preprocessor macros in response to -pthread, so … CPPFLAGS? Perhaps a better choice is to

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

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 16:31:39 UTC 2021 Modified Files: src/tests/usr.bin/indent: lsym_return.c Log Message: tests/indent: test variants of the 'return' statement To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

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

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 16:31:39 UTC 2021 Modified Files: src/tests/usr.bin/indent: lsym_return.c Log Message: tests/indent: test variants of the 'return' statement To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 16:20:13 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/indent: Makefile lsym_question.c Removed Files: src/tests/usr.bin/indent: token_question.c Log Message: tests/indent:

CVS commit: src

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 16:20:13 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/indent: Makefile lsym_question.c Removed Files: src/tests/usr.bin/indent: token_question.c Log Message: tests/indent:

CVS commit: src

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 16:05:59 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/indent: Makefile lsym_case_label.c lsym_colon.c opt_cli.c Removed Files: src/tests/usr.bin/indent:

CVS commit: src

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 16:05:59 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/indent: Makefile lsym_case_label.c lsym_colon.c opt_cli.c Removed Files: src/tests/usr.bin/indent:

CVS commit: src

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 15:26:22 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/indent: Makefile lsym_comma.c Removed Files: src/tests/usr.bin/indent: token_comma.c Log Message: tests/indent:

CVS commit: src

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 15:26:22 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/indent: Makefile lsym_comma.c Removed Files: src/tests/usr.bin/indent: token_comma.c Log Message: tests/indent:

CVS commit: src

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 14:49:28 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/indent: Makefile lsym_colon.c Removed Files: src/tests/usr.bin/indent: token_colon.c Log Message: tests/indent: move

CVS commit: src

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 14:49:28 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/indent: Makefile lsym_colon.c Removed Files: src/tests/usr.bin/indent: token_colon.c Log Message: tests/indent: move

CVS commit: src

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 14:29:03 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/indent: Makefile src/usr.bin/indent: indent.c indent.h lexi.c Removed Files: src/tests/usr.bin/indent:

CVS commit: src

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 14:29:03 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/indent: Makefile src/usr.bin/indent: indent.c indent.h lexi.c Removed Files: src/tests/usr.bin/indent:

CVS commit: src/usr.bin/indent

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 11:49:11 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent.h io.c Log Message: indent: clean up and document input handling The transformation of moving comments from after an 'if (expr)' after the

CVS commit: src/usr.bin/indent

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 11:49:11 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent.h io.c Log Message: indent: clean up and document input handling The transformation of moving comments from after an 'if (expr)' after the

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

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 10:11:15 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: emit.c Log Message: tests/lint: update history of exporting unnamed objects To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

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

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 10:11:15 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: emit.c Log Message: tests/lint: update history of exporting unnamed objects To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 10:01:37 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: emit.exp-ln src/usr.bin/xlint/lint1: emit1.c Log Message: lint: do not export unnamed objects to the .ln file Since these objects are unnamed,

CVS commit: src

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 10:01:37 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: emit.exp-ln src/usr.bin/xlint/lint1: emit1.c Log Message: lint: do not export unnamed objects to the .ln file Since these objects are unnamed,

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

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 09:59:59 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: allow Bison debug functions to be unused The grammar is only compiled using Bison during development time. In the official builds,

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

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 09:59:59 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: allow Bison debug functions to be unused The grammar is only compiled using Bison during development time. In the official builds,

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

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 09:47:18 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: emit.c emit.exp-ln Log Message: tests/lint1: reproduce parse error for accidentally exported name Seen in usr.sbin/cpuctl/aarch64.c line 118. error:

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

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 09:47:18 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: emit.c emit.exp-ln Log Message: tests/lint1: reproduce parse error for accidentally exported name Seen in usr.sbin/cpuctl/aarch64.c line 118. error:

CVS commit: src

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 09:16:46 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint2: t_lint2.sh src/usr.bin/xlint/lint2: read.c Log Message: lint2: in case of parse errors, output the offending line This provides more of a clue

CVS commit: src

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 09:16:46 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint2: t_lint2.sh src/usr.bin/xlint/lint2: read.c Log Message: lint2: in case of parse errors, output the offending line This provides more of a clue

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

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 09:10:36 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint2: t_lint2.sh Log Message: tests/lint2: fix regular expressions containing backslash In regular expressions, a backslash must be doubled. In this case, ATF

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

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 09:10:36 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint2: t_lint2.sh Log Message: tests/lint2: fix regular expressions containing backslash In regular expressions, a backslash must be doubled. In this case, ATF

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

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 08:21:50 UTC 2021 Modified Files: src/usr.bin/xlint/lint2: read.c Log Message: lint: move fgetln peculiarities out of read_ln_line This allows the function parameter to be a pointer to const. No functional change.

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

2021-11-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 08:21:50 UTC 2021 Modified Files: src/usr.bin/xlint/lint2: read.c Log Message: lint: move fgetln peculiarities out of read_ln_line This allows the function parameter to be a pointer to const. No functional change.

CVS commit: src/share/mk

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 00:21:12 UTC 2021 Modified Files: src/share/mk: sys.mk Log Message: sys.mk: fix duplicate character in character class of LINTFLAGS The character class contained two times U+0020, which makes one of them redundant, so

CVS commit: src/share/mk

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 00:21:12 UTC 2021 Modified Files: src/share/mk: sys.mk Log Message: sys.mk: fix duplicate character in character class of LINTFLAGS The character class contained two times U+0020, which makes one of them redundant, so

CVS commit: src/usr.bin/make

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 00:02:07 UTC 2021 Modified Files: src/usr.bin/make: job.c src/usr.bin/make/unit-tests: opt-debug-errors-jobs.exp Log Message: make: with the option -de in jobs mode, output expanded commands This helps

CVS commit: src/usr.bin/make

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Nov 28 00:02:07 UTC 2021 Modified Files: src/usr.bin/make: job.c src/usr.bin/make/unit-tests: opt-debug-errors-jobs.exp Log Message: make: with the option -de in jobs mode, output expanded commands This helps

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

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 23:56:11 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: opt-debug-errors-jobs.exp opt-debug-errors-jobs.mk Log Message: tests/make: demonstrate unhelpful debug log in case of errors The releng build

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

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 23:56:11 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: opt-debug-errors-jobs.exp opt-debug-errors-jobs.mk Log Message: tests/make: demonstrate unhelpful debug log in case of errors The releng build

CVS commit: src/usr.sbin

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 22:30:26 UTC 2021 Modified Files: src/usr.sbin/envstat: envstat.c src/usr.sbin/makemandb: apropos-utils.c src/usr.sbin/ndp: ndp.c src/usr.sbin/nfsd: nfsd.c src/usr.sbin/pstat: pstat.c

CVS commit: src/usr.sbin

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 22:30:26 UTC 2021 Modified Files: src/usr.sbin/envstat: envstat.c src/usr.sbin/makemandb: apropos-utils.c src/usr.sbin/ndp: ndp.c src/usr.sbin/nfsd: nfsd.c src/usr.sbin/pstat: pstat.c

CVS commit: src/usr.bin

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 22:16:42 UTC 2021 Modified Files: src/usr.bin/cdplay: cdplay.c src/usr.bin/fdformat: fdformat.c src/usr.bin/mail: sig.c src/usr.bin/midiplay: midiplay.c src/usr.bin/su: su_pam.c

CVS commit: src/usr.bin

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 22:16:42 UTC 2021 Modified Files: src/usr.bin/cdplay: cdplay.c src/usr.bin/fdformat: fdformat.c src/usr.bin/mail: sig.c src/usr.bin/midiplay: midiplay.c src/usr.bin/su: su_pam.c

CVS commit: src/usr.bin/make

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 22:04:02 UTC 2021 Modified Files: src/usr.bin/make: make.h meta.c Log Message: make: remove CONSTCOND comments, lint no longer needs them To generate a diff of this commit: cvs rdiff -u -r1.265 -r1.266

CVS commit: src/usr.bin/make

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 22:04:02 UTC 2021 Modified Files: src/usr.bin/make: make.h meta.c Log Message: make: remove CONSTCOND comments, lint no longer needs them To generate a diff of this commit: cvs rdiff -u -r1.265 -r1.266

CVS commit: src/usr.bin/indent

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 21:23:23 UTC 2021 Modified Files: src/usr.bin/indent: README.md Log Message: indent: reword README To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/usr.bin/indent/README.md Please note that diffs are

CVS commit: src/usr.bin/indent

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 21:23:23 UTC 2021 Modified Files: src/usr.bin/indent: README.md Log Message: indent: reword README To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/usr.bin/indent/README.md Please note that diffs are

CVS commit: src/usr.bin/indent

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 21:15:58 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent.h io.c Log Message: indent: accept a few formatting suggestions from indent The remaining issues are still that the conditions look ambiguous even

CVS commit: src/usr.bin/indent

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 21:15:58 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent.h io.c Log Message: indent: accept a few formatting suggestions from indent The remaining issues are still that the conditions look ambiguous even

CVS commit: src/usr.bin/indent

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 20:58:16 UTC 2021 Modified Files: src/usr.bin/indent: lexi.c Log Message: indent: illustrate probably_looking_at_definition with examples No functional change. To generate a diff of this commit: cvs rdiff -u -r1.165

CVS commit: src/usr.bin/indent

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 20:58:16 UTC 2021 Modified Files: src/usr.bin/indent: lexi.c Log Message: indent: illustrate probably_looking_at_definition with examples No functional change. To generate a diff of this commit: cvs rdiff -u -r1.165

CVS commit: src

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 20:33:39 UTC 2021 Modified Files: src/tests/usr.bin/indent: fmt_decl.c src/usr.bin/indent: lexi.c Log Message: indent: fix out of bounds memory access (since 2021-11-25) To generate a diff of this commit: cvs

CVS commit: src

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 20:33:39 UTC 2021 Modified Files: src/tests/usr.bin/indent: fmt_decl.c src/usr.bin/indent: lexi.c Log Message: indent: fix out of bounds memory access (since 2021-11-25) To generate a diff of this commit: cvs

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

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 19:21:42 UTC 2021 Modified Files: src/tests/usr.bin/indent: fmt_decl.c Log Message: tests/indent: demonstrate strange formatting (since 2021-11-25) To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

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

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 19:21:42 UTC 2021 Modified Files: src/tests/usr.bin/indent: fmt_decl.c Log Message: tests/indent: demonstrate strange formatting (since 2021-11-25) To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

CVS commit: src

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 18:37:17 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_comment.c src/usr.bin/indent: indent.c indent.h io.c pr_comment.c Log Message: indent: rename dump functions to output No functional change.

CVS commit: src

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 18:37:17 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_comment.c src/usr.bin/indent: indent.c indent.h io.c pr_comment.c Log Message: indent: rename dump functions to output No functional change.

CVS commit: src/usr.bin/indent

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 18:29:29 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: inline switch_buffer The function name was not accurate all the time. Now that inp_from_comment is a separate function, it doesn't

CVS commit: src/usr.bin/indent

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 18:29:29 UTC 2021 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: inline switch_buffer The function name was not accurate all the time. Now that inp_from_comment is a separate function, it doesn't

CVS commit: src/usr.bin/indent

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 18:26:48 UTC 2021 Modified Files: src/usr.bin/indent: io.c Log Message: indent: add assertions for input handling Just to document the invariants; the code is already OK. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/indent

2021-11-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Nov 27 18:26:48 UTC 2021 Modified Files: src/usr.bin/indent: io.c Log Message: indent: add assertions for input handling Just to document the invariants; the code is already OK. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/indent

2021-11-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Nov 26 15:21:38 UTC 2021 Modified Files: src/usr.bin/indent: io.c Log Message: indent: enhance debug logging for input handling To generate a diff of this commit: cvs rdiff -u -r1.138 -r1.139 src/usr.bin/indent/io.c Please

CVS commit: src/usr.bin/indent

2021-11-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Nov 26 15:21:38 UTC 2021 Modified Files: src/usr.bin/indent: io.c Log Message: indent: enhance debug logging for input handling To generate a diff of this commit: cvs rdiff -u -r1.138 -r1.139 src/usr.bin/indent/io.c Please

CVS commit: src/usr.bin/indent

2021-11-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Nov 26 15:18:19 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent.h pr_comment.c Log Message: indent: add buf_add_range for adding characters to a buffer No functional change. To generate a diff of this commit:

CVS commit: src/usr.bin/indent

2021-11-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Nov 26 15:18:19 UTC 2021 Modified Files: src/usr.bin/indent: indent.c indent.h pr_comment.c Log Message: indent: add buf_add_range for adding characters to a buffer No functional change. To generate a diff of this commit:

CVS commit: src/usr.bin/indent

2021-11-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Nov 26 15:08:48 UTC 2021 Modified Files: src/usr.bin/indent: io.c Log Message: indent: replace inp_enlarge with inp_add Previously, inbuf.inp.s was only updated at the very end of reading a line from the input file, which

CVS commit: src/usr.bin/indent

2021-11-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Nov 26 15:08:48 UTC 2021 Modified Files: src/usr.bin/indent: io.c Log Message: indent: replace inp_enlarge with inp_add Previously, inbuf.inp.s was only updated at the very end of reading a line from the input file, which

CVS commit: src/usr.bin/indent

2021-11-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Nov 26 14:48:03 UTC 2021 Modified Files: src/usr.bin/indent: io.c Log Message: indent: split inp_read_line into smaller functions No functional change. To generate a diff of this commit: cvs rdiff -u -r1.136 -r1.137

CVS commit: src/usr.bin/indent

2021-11-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Nov 26 14:48:03 UTC 2021 Modified Files: src/usr.bin/indent: io.c Log Message: indent: split inp_read_line into smaller functions No functional change. To generate a diff of this commit: cvs rdiff -u -r1.136 -r1.137

CVS commit: src/usr.bin/indent

2021-11-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Nov 26 14:33:13 UTC 2021 Modified Files: src/usr.bin/indent: io.c Log Message: indent: extract inp_from_file from inp_read_line No functional change. To generate a diff of this commit: cvs rdiff -u -r1.135 -r1.136

CVS commit: src/usr.bin/indent

2021-11-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Nov 26 14:33:13 UTC 2021 Modified Files: src/usr.bin/indent: io.c Log Message: indent: extract inp_from_file from inp_read_line No functional change. To generate a diff of this commit: cvs rdiff -u -r1.135 -r1.136

CVS commit: src

2021-11-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Nov 26 14:27:19 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_preprocessing.c src/usr.bin/indent: io.c Log Message: indent: remove code that fixes malformed preprocessor directives To generate a diff of

CVS commit: src

2021-11-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Nov 26 14:27:19 UTC 2021 Modified Files: src/tests/usr.bin/indent: token_preprocessing.c src/usr.bin/indent: io.c Log Message: indent: remove code that fixes malformed preprocessor directives To generate a diff of

CVS commit: src/usr.bin/indent

2021-11-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Nov 26 14:17:01 UTC 2021 Modified Files: src/usr.bin/indent: indent.c io.c Log Message: indent: move ind_add from io.c to indent.c It's a general-purpose function that is not directly related to input or output. To

CVS commit: src/usr.bin/indent

2021-11-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Nov 26 14:17:01 UTC 2021 Modified Files: src/usr.bin/indent: indent.c io.c Log Message: indent: move ind_add from io.c to indent.c It's a general-purpose function that is not directly related to input or output. To

CVS commit: src/usr.bin/indent

2021-11-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Nov 25 21:59:40 UTC 2021 Modified Files: src/usr.bin/indent: io.c Log Message: indent: prevent undefined behavior in inp_line_start No functional change. To generate a diff of this commit: cvs rdiff -u -r1.132 -r1.133

CVS commit: src/usr.bin/indent

2021-11-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Nov 25 21:59:40 UTC 2021 Modified Files: src/usr.bin/indent: io.c Log Message: indent: prevent undefined behavior in inp_line_start No functional change. To generate a diff of this commit: cvs rdiff -u -r1.132 -r1.133

CVS commit: src

2021-11-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Nov 25 21:48:23 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh src/usr.bin/indent: args.c Log Message: indent: make error message for missing command line arguments clearer To generate a diff of this

CVS commit: src

2021-11-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Nov 25 21:48:23 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh src/usr.bin/indent: args.c Log Message: indent: make error message for missing command line arguments clearer To generate a diff of this

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

2021-11-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Nov 25 21:45:28 UTC 2021 Modified Files: src/tests/usr.bin/indent: t_errors.sh t_misc.sh Log Message: tests/indent: use escape sequence for newline characters No functional change. To generate a diff of this commit: cvs

  1   2   3   4   5   6   7   8   9   10   >