CVS commit: src/usr.bin/make

2024-04-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 28 15:10:19 UTC 2024 Modified Files: src/usr.bin/make: buf.c buf.h var.c Log Message: make: don't reallocate memory after evaluating an expression When an expression is evaluated, the resulting text is short-lived in

CVS commit: src/usr.bin/make

2024-04-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 28 15:10:19 UTC 2024 Modified Files: src/usr.bin/make: buf.c buf.h var.c Log Message: make: don't reallocate memory after evaluating an expression When an expression is evaluated, the resulting text is short-lived in

CVS commit: src/usr.bin/make

2024-04-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 27 21:26:23 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: fix comment about forcing a use-after-free The previous expression didn't cause any bug, as the modifier ':@VAR@loop@' changed the value of

CVS commit: src/usr.bin/make

2024-04-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 27 21:26:23 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: fix comment about forcing a use-after-free The previous expression didn't cause any bug, as the modifier ':@VAR@loop@' changed the value of

CVS commit: src/usr.bin/make

2024-04-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 27 20:41:32 UTC 2024 Modified Files: src/usr.bin/make: arch.c job.c make.h var.c src/usr.bin/make/unit-tests: depsrc-end.mk depsrc-nopath.exp depsrc-nopath.mk depsrc-phony.mk Log Message: make: clean

CVS commit: src/usr.bin/make

2024-04-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 27 20:41:32 UTC 2024 Modified Files: src/usr.bin/make: arch.c job.c make.h var.c src/usr.bin/make/unit-tests: depsrc-end.mk depsrc-nopath.exp depsrc-nopath.mk depsrc-phony.mk Log Message: make: clean

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

2024-04-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 27 20:23:22 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: archive.exp archive.mk Log Message: tests/make: test detection of static library files To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

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

2024-04-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 27 20:23:22 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: archive.exp archive.mk Log Message: tests/make: test detection of static library files To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/usr.bin/make

2024-04-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 27 17:33:47 UTC 2024 Modified Files: src/usr.bin/make: arch.c lst.c lst.h main.c meta.c parse.c targ.c Log Message: make: simplify freeing of lists To generate a diff of this commit: cvs rdiff -u -r1.215 -r1.216

CVS commit: src/usr.bin/make

2024-04-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 27 17:33:47 UTC 2024 Modified Files: src/usr.bin/make: arch.c lst.c lst.h main.c meta.c parse.c targ.c Log Message: make: simplify freeing of lists To generate a diff of this commit: cvs rdiff -u -r1.215 -r1.216

CVS commit: src/usr.bin/make

2024-04-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Apr 26 17:11:22 UTC 2024 Modified Files: src/usr.bin/make: job.c src/usr.bin/make/unit-tests: opt-debug-errors-jobs.exp Log Message: make: in parallel mode, print the directory in which a job failed When multiple

CVS commit: src/usr.bin/make

2024-04-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Apr 26 17:11:22 UTC 2024 Modified Files: src/usr.bin/make: job.c src/usr.bin/make/unit-tests: opt-debug-errors-jobs.exp Log Message: make: in parallel mode, print the directory in which a job failed When multiple

CVS commit: src/usr.bin/make

2024-04-23 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Apr 23 22:51:28 UTC 2024 Modified Files: src/usr.bin/make: cond.c make.h parse.c var.c src/usr.bin/make/unit-tests: cmd-errors-jobs.exp cmd-errors-jobs.mk cmd-errors-lint.exp cmd-errors-lint.mk

CVS commit: src/usr.bin/make

2024-04-23 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Apr 23 22:51:28 UTC 2024 Modified Files: src/usr.bin/make: cond.c make.h parse.c var.c src/usr.bin/make/unit-tests: cmd-errors-jobs.exp cmd-errors-jobs.mk cmd-errors-lint.exp cmd-errors-lint.mk

CVS commit: src/usr.bin/make

2024-04-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 21 21:59:48 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: trim down code for parsing the :gmtime and :localtime modifiers The :gmtime and :localtime modifiers are not used often and thus are not

CVS commit: src/usr.bin/make

2024-04-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 21 21:59:48 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: trim down code for parsing the :gmtime and :localtime modifiers The :gmtime and :localtime modifiers are not used often and thus are not

CVS commit: src/usr.bin/make

2024-04-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 21 08:56:49 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: fix out-of-bounds read when evaluating :gmtime and :localtime The function TryParseTime takes a pointer to a string, but the LazyBuf returns

CVS commit: src/usr.bin/make

2024-04-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 21 08:56:49 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: fix out-of-bounds read when evaluating :gmtime and :localtime The function TryParseTime takes a pointer to a string, but the LazyBuf returns

CVS commit: src/usr.bin/make

2024-04-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 20 10:18:56 UTC 2024 Modified Files: src/usr.bin/make: compat.c job.c make.h parse.c var.c src/usr.bin/make/unit-tests: Makefile cmd-errors-jobs.exp cmd-errors-jobs.mk cmd-errors-lint.exp cmd-errors.exp

CVS commit: src/usr.bin/make

2024-04-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 20 10:18:56 UTC 2024 Modified Files: src/usr.bin/make: compat.c job.c make.h parse.c var.c src/usr.bin/make/unit-tests: Makefile cmd-errors-jobs.exp cmd-errors-jobs.mk cmd-errors-lint.exp cmd-errors.exp

CVS commit: src/usr.bin/make

2024-04-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 14 15:21:20 UTC 2024 Modified Files: src/usr.bin/make: str.c Log Message: make: make string matching platform-independent Previously, whether the character range '[a-ä]' matched, depended on the signedness of the plain

CVS commit: src/usr.bin/make

2024-04-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 14 15:21:20 UTC 2024 Modified Files: src/usr.bin/make: str.c Log Message: make: make string matching platform-independent Previously, whether the character range '[a-ä]' matched, depended on the signedness of the plain

CVS commit: src/usr.bin/make

2024-04-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 14 12:30:48 UTC 2024 Modified Files: src/usr.bin/make: parse.c src/usr.bin/make/unit-tests: directive-export-impl.exp directive-for-escape.exp opt-debug-parse.exp var-eval-short.exp

CVS commit: src/usr.bin/make

2024-04-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Apr 14 12:30:48 UTC 2024 Modified Files: src/usr.bin/make: parse.c src/usr.bin/make/unit-tests: directive-export-impl.exp directive-for-escape.exp opt-debug-parse.exp var-eval-short.exp

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

2024-04-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Apr 2 15:05:15 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: opt-keep-going-indirect.mk Log Message: tests/make: pass PATH onto child processes This fixes the tests on some Cygwin variant where the shell does not

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

2024-04-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Apr 2 15:05:15 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: opt-keep-going-indirect.mk Log Message: tests/make: pass PATH onto child processes This fixes the tests on some Cygwin variant where the shell does not

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

2024-04-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Apr 2 11:11:00 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: opt-chdir.exp opt-chdir.mk Log Message: tests/make: remove test for overly long chdir argument On Cygwin, the path '/././..././' is normalized before

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

2024-04-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Apr 2 11:11:00 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: opt-chdir.exp opt-chdir.mk Log Message: tests/make: remove test for overly long chdir argument On Cygwin, the path '/././..././' is normalized before

CVS commit: src/usr.bin/make

2024-04-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 1 12:33:28 UTC 2024 Modified Files: src/usr.bin/make: for.c Log Message: make: remove unreachable code in handling .for loops To generate a diff of this commit: cvs rdiff -u -r1.178 -r1.179 src/usr.bin/make/for.c

CVS commit: src/usr.bin/make

2024-04-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 1 12:33:28 UTC 2024 Modified Files: src/usr.bin/make: for.c Log Message: make: remove unreachable code in handling .for loops To generate a diff of this commit: cvs rdiff -u -r1.178 -r1.179 src/usr.bin/make/for.c

CVS commit: src/usr.bin/make

2024-04-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 1 12:26:02 UTC 2024 Modified Files: src/usr.bin/make: parse.c src/usr.bin/make/unit-tests: directive-for-null.exp directive-for-null.mk opt-file.exp opt-file.mk Log Message: make: exit immediately

CVS commit: src/usr.bin/make

2024-04-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 1 12:26:02 UTC 2024 Modified Files: src/usr.bin/make: parse.c src/usr.bin/make/unit-tests: directive-for-null.exp directive-for-null.mk opt-file.exp opt-file.mk Log Message: make: exit immediately

CVS commit: src/usr.bin/make

2024-03-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Mar 10 02:53:38 UTC 2024 Modified Files: src/usr.bin/make: compat.c job.c main.c make.1 make.h targ.c Log Message: make: record exit status in GNode SetErrorVars can now set .ERROR_EXIT which allows a .ERROR target to ignore

CVS commit: src/usr.bin/make

2024-03-09 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Mar 10 02:53:38 UTC 2024 Modified Files: src/usr.bin/make: compat.c job.c main.c make.1 make.h targ.c Log Message: make: record exit status in GNode SetErrorVars can now set .ERROR_EXIT which allows a .ERROR target to ignore

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

2024-03-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 5 23:07:58 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: var-scope-local.exp var-scope-local.mk Log Message: tests/make: clean up test for local scope variables Use the same style of quotes for both kinds of

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

2024-03-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 5 23:07:58 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: var-scope-local.exp var-scope-local.mk Log Message: tests/make: clean up test for local scope variables Use the same style of quotes for both kinds of

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

2024-03-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Mar 1 20:15:59 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: var-scope-local.exp var-scope-local.mk Log Message: make: update var-scope-local test Show what VAR value is in environment of target script. To generate a

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

2024-03-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Mar 1 20:15:59 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: var-scope-local.exp var-scope-local.mk Log Message: make: update var-scope-local test Show what VAR value is in environment of target script. To generate a

CVS commit: src/usr.bin/make

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 17:53:30 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: fix type mismatch in lint's strict bool mode (since today) To generate a diff of this commit: cvs rdiff -u -r1.1100 -r1.1101

CVS commit: src/usr.bin/make

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 17:53:30 UTC 2024 Modified Files: src/usr.bin/make: var.c Log Message: make: fix type mismatch in lint's strict bool mode (since today) To generate a diff of this commit: cvs rdiff -u -r1.1100 -r1.1101

CVS commit: src/usr.bin/make

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 17:47:05 UTC 2024 Modified Files: src/usr.bin/make: test-variants.mk Log Message: make: remove test variant for NO_REGEX The compile-time toggle was removed in var.c 1.1099 from 2024-02-07. To generate a diff of

CVS commit: src/usr.bin/make

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 17:47:05 UTC 2024 Modified Files: src/usr.bin/make: test-variants.mk Log Message: make: remove test variant for NO_REGEX The compile-time toggle was removed in var.c 1.1099 from 2024-02-07. To generate a diff of

CVS commit: src/usr.bin/make

2024-03-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Mar 1 16:41:42 UTC 2024 Modified Files: src/usr.bin/make: compat.c job.c main.c make.h var.c Log Message: make: export target scope values Pass target scope to Var_ReexportVars so that a target process will see the correct

CVS commit: src/usr.bin/make

2024-03-01 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Mar 1 16:41:42 UTC 2024 Modified Files: src/usr.bin/make: compat.c job.c main.c make.h var.c Log Message: make: export target scope values Pass target scope to Var_ReexportVars so that a target process will see the correct

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/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/usr.bin/make

2024-02-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Feb 3 00:20:23 UTC 2024 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmod.exp varmod.mk Log Message: make: state of save_dollars affects what is a parse error When save_dollars is false it is

CVS commit: src/usr.bin/make

2024-02-02 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sat Feb 3 00:20:23 UTC 2024 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: varmod.exp varmod.mk Log Message: make: state of save_dollars affects what is a parse error When save_dollars is false it is

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

2024-01-25 Thread Simon Gerraty
On Thu, 25 Jan 2024 20:02:00 +0100, Roland Illig writes: >>> 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 doesn't distinguish between an empty string and an

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

2024-01-25 Thread Simon Gerraty
On Thu, 25 Jan 2024 21:12:20 +0100, Roland Illig writes: >them all. Due to this, I'd go with: > >> .It Cm \&:U\| Ns Ar newval >> If the variable is undefined, >> .Ar newval >> (which may be empty) is the value. That's almost exactly what I had in my 1st cut ;-) Will do. >Then, add the same

CVS commit: src/usr.bin/make

2024-01-25 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jan 25 21:00:59 UTC 2024 Modified Files: src/usr.bin/make: make.1 Log Message: Note that in both :U and :D newval may be empty To generate a diff of this commit: cvs rdiff -u -r1.373 -r1.374 src/usr.bin/make/make.1 Please

CVS commit: src/usr.bin/make

2024-01-25 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jan 25 21:00:59 UTC 2024 Modified Files: src/usr.bin/make: make.1 Log Message: Note that in both :U and :D newval may be empty To generate a diff of this commit: cvs rdiff -u -r1.373 -r1.374 src/usr.bin/make/make.1 Please

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/usr.bin/make

2024-01-24 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jan 25 07:35:46 UTC 2024 Modified Files: src/usr.bin/make: make.1 Log Message: Indicate that for :U newval is optional To generate a diff of this commit: cvs rdiff -u -r1.372 -r1.373 src/usr.bin/make/make.1 Please note that

CVS commit: src/usr.bin/make

2024-01-24 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Thu Jan 25 07:35:46 UTC 2024 Modified Files: src/usr.bin/make: make.1 Log Message: Indicate that for :U newval is optional To generate a diff of this commit: cvs rdiff -u -r1.372 -r1.373 src/usr.bin/make/make.1 Please note that

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

CVS commit: src/usr.bin/make

2024-01-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 21 15:22:55 UTC 2024 Modified Files: src/usr.bin/make: cond.c Log Message: make: clean up parsing of conditions No functional change. To generate a diff of this commit: cvs rdiff -u -r1.359 -r1.360

CVS commit: src/usr.bin/make

2024-01-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 21 15:22:55 UTC 2024 Modified Files: src/usr.bin/make: cond.c Log Message: make: clean up parsing of conditions No functional change. To generate a diff of this commit: cvs rdiff -u -r1.359 -r1.360

CVS commit: src/usr.bin/make

2024-01-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 21 15:02:17 UTC 2024 Modified Files: src/usr.bin/make: for.c var.c Log Message: make: clean up redundant 'const' from automatic variables No binary change. To generate a diff of this commit: cvs rdiff -u -r1.177

CVS commit: src/usr.bin/make

2024-01-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jan 21 15:02:17 UTC 2024 Modified Files: src/usr.bin/make: for.c var.c Log Message: make: clean up redundant 'const' from automatic variables No binary change. To generate a diff of this commit: cvs rdiff -u -r1.177

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

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

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

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

CVS commit: src/usr.bin/make

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

CVS commit: src/usr.bin/make

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

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

2024-01-06 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Jan 7 02:07:44 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: make: unit-tests handle TEST_MAKE:T != make We need to allow for ${TEST_MAKE:T}[1-9]: etc when TEST_MAKE is not 'make' To generate a

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

2024-01-06 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Jan 7 02:07:44 UTC 2024 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: make: unit-tests handle TEST_MAKE:T != make We need to allow for ${TEST_MAKE:T}[1-9]: etc when TEST_MAKE is not 'make' To generate a

CVS commit: src/usr.bin/make

2024-01-06 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Jan 7 01:33:58 UTC 2024 Modified Files: src/usr.bin/make: job.c main.c src/usr.bin/make/unit-tests: jobs-error-indirect.exp jobs-error-nested-make.exp jobs-error-nested.exp var-recursive.exp Log Message:

CVS commit: src/usr.bin/make

2024-01-06 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Jan 7 01:33:58 UTC 2024 Modified Files: src/usr.bin/make: job.c main.c src/usr.bin/make/unit-tests: jobs-error-indirect.exp jobs-error-nested-make.exp jobs-error-nested.exp var-recursive.exp Log Message:

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

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

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

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

CVS commit: src/usr.bin/make

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

CVS commit: src/usr.bin/make

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

CVS commit: src/usr.bin/make

2024-01-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jan 5 22:20:07 UTC 2024 Modified Files: src/usr.bin/make: main.c Log Message: Cmd_Exec use tempfile if cmd is too big To avoid blowing commandline/env limits, if "cmd" is more than 1000 bytes, write it to a file and pass that

CVS commit: src/usr.bin/make

2024-01-05 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Fri Jan 5 22:20:07 UTC 2024 Modified Files: src/usr.bin/make: main.c Log Message: Cmd_Exec use tempfile if cmd is too big To avoid blowing commandline/env limits, if "cmd" is more than 1000 bytes, write it to a file and pass that

CVS commit: src/usr.bin/make

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

CVS commit: src/usr.bin/make

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

CVS commit: src/usr.bin/make

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

CVS commit: src/usr.bin/make

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

CVS commit: src/usr.bin/make

2024-01-03 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jan 3 20:24:16 UTC 2024 Modified Files: src/usr.bin/make: parse.c Log Message: make: do not add newline to an empty buffer When LoadFile reads from /dev/null the buffer will be empty, appending "\n" just results in an

CVS commit: src/usr.bin/make

2024-01-03 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Wed Jan 3 20:24:16 UTC 2024 Modified Files: src/usr.bin/make: parse.c Log Message: make: do not add newline to an empty buffer When LoadFile reads from /dev/null the buffer will be empty, appending "\n" just results in an

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

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

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

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

CVS commit: src/usr.bin/make

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

CVS commit: src/usr.bin/make

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

CVS commit: src/usr.bin/make

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

CVS commit: src/usr.bin/make

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

CVS commit: src/usr.bin/make

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

CVS commit: src/usr.bin/make

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

  1   2   3   4   5   6   7   8   9   10   >