CVS commit: src/bin/df

2021-11-28 Thread Simon Burge
Module Name:src Committed By: simonb Date: Mon Nov 29 05:59:58 UTC 2021 Modified Files: src/bin/df: df.c Log Message: Set totals.f_frsize to DEV_BSIZE instead of totals.f_bsize so that addstat() uses an initialised value for total size calculations. Fixes core dump for

CVS commit: src/bin/df

2021-11-28 Thread Simon Burge
Module Name:src Committed By: simonb Date: Mon Nov 29 05:59:58 UTC 2021 Modified Files: src/bin/df: df.c Log Message: Set totals.f_frsize to DEV_BSIZE instead of totals.f_bsize so that addstat() uses an initialised value for total size calculations. Fixes core dump for

CVS commit: src/external/lgpl3/gmp/dist/mpz

2021-11-28 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Nov 29 03:57:22 UTC 2021 Modified Files: src/external/lgpl3/gmp/dist/mpz: inp_raw.c Log Message: gmp: pullover fixes for https://nvd.nist.gov/vuln/detail/CVE-2021-43618 changeset 18135:561a9c25298e mpz/inp_raw.c: Avoid bit

CVS commit: src/external/lgpl3/gmp/dist/mpz

2021-11-28 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Nov 29 03:57:22 UTC 2021 Modified Files: src/external/lgpl3/gmp/dist/mpz: inp_raw.c Log Message: gmp: pullover fixes for https://nvd.nist.gov/vuln/detail/CVE-2021-43618 changeset 18135:561a9c25298e mpz/inp_raw.c: Avoid bit

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/share/man/man8

2021-11-28 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sun Nov 28 18:08:51 UTC 2021 Modified Files: src/share/man/man8: compat_linux.8 Log Message: aarch64 also now can execute both 32 and 64 bit To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46

CVS commit: src/share/man/man8

2021-11-28 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sun Nov 28 18:08:51 UTC 2021 Modified Files: src/share/man/man8: compat_linux.8 Log Message: aarch64 also now can execute both 32 and 64 bit To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46

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

Re: CVS commit: src/sbin/cgdconfig

2021-11-28 Thread Christos Zoulas
> On Nov 28, 2021, at 11:57 AM, Roland Illig wrote: > > 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

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

Re: CVS commit: src/sbin/cgdconfig

2021-11-28 Thread Jason Thorpe
> On Nov 28, 2021, at 8:05 AM, Christos Zoulas wrote: > > The change is correct; this is how it is done everywhere else in the tree. > You are right about -pthread doing more than adding -lpthread, but > in that case, the -pthread should be added to CFLAGS/COPTS etc, > not LDADD so that it

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:

Re: CVS commit: src/sbin/cgdconfig

2021-11-28 Thread Christos Zoulas
The change is correct; this is how it is done everywhere else in the tree. You are right about -pthread doing more than adding -lpthread, but in that case, the -pthread should be added to CFLAGS/COPTS etc, not LDADD so that it is effective during the compilation phase too, not just the link

CVS commit: src/share/mk

2021-11-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 28 15:49:36 UTC 2021 Modified Files: src/share/mk: bsd.prog.mk Log Message: When we build against DESTDIR, add the lint library path for DESTDIR during the link phase for lint. To generate a diff of this commit: cvs

CVS commit: src/share/mk

2021-11-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 28 15:49:36 UTC 2021 Modified Files: src/share/mk: bsd.prog.mk Log Message: When we build against DESTDIR, add the lint library path for DESTDIR during the link phase for lint. To generate a diff of this commit: cvs

CVS commit: src/share/mk

2021-11-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 28 15:47:33 UTC 2021 Modified Files: src/share/mk: bsd.README bsd.lib.mk Log Message: For private and module libraries, build lint but do not install the lint libraries. We want to lint the private library code and we

CVS commit: src/share/mk

2021-11-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 28 15:47:33 UTC 2021 Modified Files: src/share/mk: bsd.README bsd.lib.mk Log Message: For private and module libraries, build lint but do not install the lint libraries. We want to lint the private library code and we

Re: CVS commit: src/sbin/cgdconfig

2021-11-28 Thread Jason Thorpe
> On Nov 27, 2021, at 6:01 PM, Christos Zoulas wrote: > > Module Name: src > Committed By: christos > Date: Sun Nov 28 02:01:30 UTC 2021 > > Modified Files: > src/sbin/cgdconfig: Makefile > > Log Message: > -lpthread to LDADD (fixes lint build) This change is wrong. The

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/doc

2021-11-28 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Nov 28 09:14:21 UTC 2021 Modified Files: src/doc: 3RDPARTY Log Message: sqlite3-3.37.0 out To generate a diff of this commit: cvs rdiff -u -r1.1826 -r1.1827 src/doc/3RDPARTY Please note that diffs are not public domain; they

CVS commit: src/doc

2021-11-28 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Nov 28 09:14:21 UTC 2021 Modified Files: src/doc: 3RDPARTY Log Message: sqlite3-3.37.0 out To generate a diff of this commit: cvs rdiff -u -r1.1826 -r1.1827 src/doc/3RDPARTY Please note that diffs are not public domain; they

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.