CVS commit: src/sys/arch/arm/cortex

2021-03-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Mar 14 08:09:20 UTC 2021

Modified Files:
src/sys/arch/arm/cortex: gic_v2m.c

Log Message:
Remove an unnecessary if statement in gic_v2m_msi_alloc when finding a
'count' that fits the available.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/cortex/gic_v2m.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x86/pci

2021-03-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Mar 14 08:10:23 UTC 2021

Modified Files:
src/sys/arch/x86/pci: pci_msi_machdep.c

Log Message:
Remoave an extra space from a comment


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/x86/pci/pci_msi_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/ic

2021-03-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Mar 14 08:13:58 UTC 2021

Modified Files:
src/sys/dev/ic: sti.c

Log Message:
No need to have an MD #ifdef in an MI file, so remove it.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/ic/sti.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/arm/samsung

2021-03-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Mar 14 08:16:57 UTC 2021

Modified Files:
src/sys/arch/arm/samsung: exynos_combiner.c exynos_dwcmmc.c
exynos_ehci.c exynos_i2c.c exynos_ohci.c exynos_uart.c mct.c

Log Message:
Use fdtbus_intr_establish_xname


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/samsung/exynos_combiner.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/arm/samsung/exynos_dwcmmc.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/samsung/exynos_ehci.c
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/arm/samsung/exynos_i2c.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/samsung/exynos_ohci.c \
src/sys/arch/arm/samsung/exynos_uart.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/samsung/mct.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/arm/arm32

2021-03-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Mar 14 10:36:46 UTC 2021

Modified Files:
src/sys/arch/arm/arm32: pmap.c

Log Message:
Sprinkle kpreempt_{dis,en}able ready for when preemption gets turned on.


To generate a diff of this commit:
cvs rdiff -u -r1.425 -r1.426 src/sys/arch/arm/arm32/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 10:45:51 UTC 2021

Modified Files:
src/usr.bin/make/unit-tests: Makefile opt-debug-lint.exp
opt-debug-lint.mk

Log Message:
make: demonstrate wrong expression evaluation in -dL mode


To generate a diff of this commit:
cvs rdiff -u -r1.271 -r1.272 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/make/unit-tests/opt-debug-lint.exp
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/make/unit-tests/opt-debug-lint.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 10:57:13 UTC 2021

Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: opt-debug-lint.exp opt-debug-lint.mk

Log Message:
make: fix wrong expression evaluation in -dL mode

The modifier ':C' now only compiles the regular expression if the result
of the expression is actually needed.

Several other modifiers have the same bug of evaluating the expression
in cases where this is not needed.  It just doesn't show up because they
don't have any noticeable side effects, other than wasting CPU time.
This affects irrelevant conditions as well.


To generate a diff of this commit:
cvs rdiff -u -r1.855 -r1.856 src/usr.bin/make/var.c
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/make/unit-tests/opt-debug-lint.exp
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/make/unit-tests/opt-debug-lint.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 11:15:37 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: sort modifiers in ApplyModifier alphabetically

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.856 -r1.857 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 11:49:37 UTC 2021

Modified Files:
src/distrib/sets/lists/tests: mi
src/usr.bin/make/unit-tests: Makefile cond-short.mk
Added Files:
src/usr.bin/make/unit-tests: var-eval-short.exp var-eval-short.mk

Log Message:
tests/make: add test for short-circuit evaluation of modifiers


To generate a diff of this commit:
cvs rdiff -u -r1.1031 -r1.1032 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.272 -r1.273 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/make/unit-tests/cond-short.mk
cvs rdiff -u -r0 -r1.1 src/usr.bin/make/unit-tests/var-eval-short.exp \
src/usr.bin/make/unit-tests/var-eval-short.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump

2021-03-14 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sun Mar 14 13:11:59 UTC 2021

Modified Files:
src/sys/rump: Makefile.rump

Log Message:
Build rump for PPC_OEA64 on evbppc64.


To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 src/sys/rump/Makefile.rump

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 15:04:13 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: document how error handling should be done correctly

Right now, when a variable expression cannot be parsed, the result of
calling Var_Subst is a string containing garbage, and no error is
reported.  In addition, there are some silent errors that are not
reported at all.  This combination makes it difficult to change the
error handling without introducing subtle breakage in some edge cases.

An example for garbage output is in varmod-subst-regex.mk, in target
mod-regex-compile-error.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.857 -r1.858 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 15:06:19 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: extract duplicate code for detecting a modifier's end

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.858 -r1.859 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 15:15:29 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: extract duplicate code for parsing ':S' and ':C'

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.859 -r1.860 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 15:19:15 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: separate parsing and evaluating for modifiers ':Q' and ':q'

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.860 -r1.861 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 15:22:21 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: separate parsing and evaluating for modifier ':u'

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.861 -r1.862 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 15:24:37 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: reduce indentation in ApplyModifier_SunShell

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.862 -r1.863 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 15:43:31 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: separate parsing from evaluating for several modifiers

This aligns the implementation of these modifiers with the requirements
in the long comment starting with 'The ApplyModifier functions'.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.863 -r1.864 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 16:00:07 UTC 2021

Modified Files:
src/usr.bin/make/unit-tests: modword.exp modword.mk

Log Message:
make: add test for edge case in modifier ':[...]'

TryParseIntBase0 wrongly returns successful for a string that does not
start with a number at all.  Its only caller, ApplyModifier_Words,
already handles all error cases properly.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/modword.exp
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/make/unit-tests/modword.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 16:03:04 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: return failure in TryParseIntBase0 for empty string

No functional change since the only caller of TryParseIntBase0 already
handles all possible parse errors.  Without this check, the code just
looked wrong though.


To generate a diff of this commit:
cvs rdiff -u -r1.864 -r1.865 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 16:43:31 UTC 2021

Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: var-eval-short.exp

Log Message:
make: only evaluate the ':_' modifier if the expression is needed

See var-eval-short.mk:46 for the test demonstrating this change.
Previously, the expression ${:Uword:_=VAR} was evaluated including all
its side effects even though it was in an irrelevant branch of the
condition.


To generate a diff of this commit:
cvs rdiff -u -r1.865 -r1.866 src/usr.bin/make/var.c
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/var-eval-short.exp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 17:07:11 UTC 2021

Modified Files:
src/usr.bin/make/unit-tests: varmod-remember.exp varmod-remember.mk

Log Message:
tests/make: convert test for ':_' modifier to parse time


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/varmod-remember.exp
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/varmod-remember.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 17:14:16 UTC 2021

Modified Files:
src/usr.bin/make/unit-tests: varmod-remember.mk

Log Message:
tests/make: demonstrate unintended edge case for the ':_' modifier


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/varmod-remember.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 17:27:28 UTC 2021

Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: varmod-remember.mk

Log Message:
make: do not expand the variable name in the ':_' modifier

This edge case had been so obscure that even discovering this takes
quite some time and requires reading the source code of make.

The manual page doesn't document whether the variable name is expanded
or not, it doesn't even give an example.  When this obscure modifier was
initially added in var.c 1.210 from 2017-01-30, Var_Set always expanded
the variable name once, and there was no way around it.  Therefore this
expansion has probably been unintentional.


To generate a diff of this commit:
cvs rdiff -u -r1.866 -r1.867 src/usr.bin/make/var.c
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/make/unit-tests/varmod-remember.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 17:34:50 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: merge duplicate code in ApplyModifier_Remember

This way, parsing and evaluating the modifier is only written once in
the code.  The downside is that the variable name is allocated even if
VARE_WANTRES is not set, but since this modifier is so obscure and
seldom used this doesn't matter in practice.


To generate a diff of this commit:
cvs rdiff -u -r1.867 -r1.868 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 17:38:24 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: eliminate common subexpression in ApplyModifier_Remember

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.868 -r1.869 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 18:02:44 UTC 2021

Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: var-eval-short.exp

Log Message:
make: only evaluate the ':@' modifier if the result is actually used

The test 'var-eval-short' had produced the output 'unexpected' before,
on stderr.  It had been generated by '${:Uword:@${FAIL}@expr@}' by
combining the following obscure "features" of make:

1.  the ':@' modifier loops over the words of the variable.  This
modifier is not really obscure, it still takes some time to get used
to it.

2.  the ':@' modifier allows a '$' sign in the variable name, which is
useless in practice.

3.  the ':@' modifier creates a temporary loop variable in the global
namespace.  Luckily there are only few collisions with other
variable names since their naming conventions differ.

4.  after looping over the words of the expression, the temporary global
loop variable is deleted, and at that point the '$' is expanded,
being interpreted as the start of a variable expression.

5.  The ':@' modifier deleted the global variable even when it was
called in parse-only mode (without VARE_WANTRES).

When the modifier ':@' was initially added to make in var.c 1.40 from
2000-04-29, Var_Delete didn't expand the variable name.  That feature
was added in var.c 1.174 from 2013-05-18, probably without thinking of
this very edge-casey combination of features.

This commit fixes item 5 from the above list.  The other obscurities
remain for now.


To generate a diff of this commit:
cvs rdiff -u -r1.869 -r1.870 src/usr.bin/make/var.c
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/var-eval-short.exp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 18:08:25 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: skip memcpy when parsing but not evaluating ':D' and ':U'

No functional change, just a tiny bit of performance improvement,
probably not even measurable.  Having the code nevertheless serves as a
copy-and-paste template for implementing other modifiers that might
perform more costly tasks.


To generate a diff of this commit:
cvs rdiff -u -r1.870 -r1.871 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 18:10:57 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: skip strdup when parsing an irrelevant ':L' modifier

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.871 -r1.872 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 18:23:44 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: don't evaluate several simple modifiers in parse-only mode

This affects the modifiers ':E', ':H', ':P', ':Q', ':R', ':T', ':hash',
':q', ':range', ':tl', ':ts', ':tu', and ':u'.  All these modifiers are
side-effect free.

Skipping the evaluation for these modifiers is purely for code
consistency and performance.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.872 -r1.873 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 18:30:24 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: do not evaluate ':gmtime' and ':localtime' in parse-only mode

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.873 -r1.874 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 19:16:41 UTC 2021

Modified Files:
src/usr.bin/make/unit-tests: var-eval-short.exp var-eval-short.mk

Log Message:
tests/make: add test for the ':?' modifier in parse-only mode

The debug output for this scenario will change a bit in an upcoming
commit, but that will not affect anything outside the debug log.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/var-eval-short.exp
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/var-eval-short.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 19:21:29 UTC 2021

Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: var-eval-short.exp var-eval-short.mk

Log Message:
make: do not return unevaluated 'else' part from the ':?' modifier

No functional change outside debug mode.


To generate a diff of this commit:
cvs rdiff -u -r1.874 -r1.875 src/usr.bin/make/var.c
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/var-eval-short.exp
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/var-eval-short.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 19:25:05 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: do not evaluate modifiers ':M' and ':N' in parse-only mode

No functional change outside debug mode (-dv for ModifyWord_Match).


To generate a diff of this commit:
cvs rdiff -u -r1.875 -r1.876 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 19:29:37 UTC 2021

Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: var-eval-short.exp

Log Message:
make: do not evaluate modifier ':[...]' in parse-only mode

In parse-only mode, variable expressions in the argument to that
modifier are not resolved.  This led to the error message about the 'Bad
modifier' in var-eval-short.mk.


To generate a diff of this commit:
cvs rdiff -u -r1.876 -r1.877 src/usr.bin/make/var.c
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/make/unit-tests/var-eval-short.exp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 20:00:48 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: separate parsing and evaluating in the ':O' modifiers

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.877 -r1.878 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 20:03:56 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: do not evaluate the ':O' modifiers in parse-only mode

No functional change in practical usage.  Theoretically this change can
be observed by looking at the generated random numbers for the ':Ox'
modifier, but the quality or exact sequence of these random numbers is
not guaranteed anyway.


To generate a diff of this commit:
cvs rdiff -u -r1.878 -r1.879 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 20:09:26 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: in parse-only mode, do not update the expression value in ':sh'

No functional change outside debug mode.  The other variable modifiers
behave in the same way.


To generate a diff of this commit:
cvs rdiff -u -r1.879 -r1.880 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 20:12:16 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: separate parsing and evaluating for modifier '::='

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.880 -r1.881 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 20:18:33 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: skip variable lookup for '::=' modifiers in parse-only mode

This is just to keep the code consistent among the various variable
modifiers.  The performance gain is negligible.

The actual assignment to the variable had already been skipped
previously.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.881 -r1.882 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 20:23:29 UTC 2021

Modified Files:
src/usr.bin/make: var.c

Log Message:
make: fix documentation of VarFreeEnv

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.882 -r1.883 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 20:41:39 UTC 2021

Modified Files:
src/usr.bin/make/unit-tests: var-eval-short.exp var-eval-short.mk

Log Message:
tests/make: document today's bug fixes in the test


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/unit-tests/var-eval-short.exp
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/var-eval-short.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 21:44:35 UTC 2021

Modified Files:
src/tests/usr.bin/xlint/lint1: msg_247.c msg_247.exp

Log Message:
tests/lint: add test for message 247 for pointer to unnamed struct


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_247.c
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/xlint/lint1/msg_247.exp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2021-03-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Mar 14 22:24:24 UTC 2021

Modified Files:
src/tests/usr.bin/xlint/lint1: msg_247.c msg_247.exp

Log Message:
tests/lint: document how lint discards the typedef name in 247


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/xlint/lint1/msg_247.c
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/msg_247.exp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump/librump/rumpkern

2021-03-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Mar 14 22:56:39 UTC 2021

Modified Files:
src/sys/rump/librump/rumpkern: atomic_cas_generic.c

Log Message:
provide generic cas for _LP64


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/rump/librump/rumpkern/atomic_cas_generic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/evbmips/stand/sbmips

2021-03-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Mar 14 22:58:11 UTC 2021

Modified Files:
src/sys/arch/evbmips/stand/sbmips: Makefile.bootprogs Makefile.bootxx
src/sys/arch/evbmips/stand/sbmips/boot: Makefile
src/sys/arch/evbmips/stand/sbmips/netboot: Makefile

Log Message:
Specify the emulation explicitly (n32) so this builds when the default
emulation changes.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbmips/stand/sbmips/Makefile.bootprogs
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/sys/arch/evbmips/stand/sbmips/Makefile.bootxx
cvs rdiff -u -r1.1.1.1 -r1.2 src/sys/arch/evbmips/stand/sbmips/boot/Makefile
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/sys/arch/evbmips/stand/sbmips/netboot/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.