Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/make



Module Name:    src
Committed By:   rillig
Date:           Wed Jun 21 14:33:36 UTC 2023

Modified Files:
        src/usr.bin/make: parse.c
        src/usr.bin/make/unit-tests: directive-include-guard.exp
            directive-include-guard.mk

Log Message:
make: skip a file protected by a multiple-inclusion guard more often

In practice, the common situation is that a file is first included,
defines its multiple-inclusion guard and is then skipped instead of
being included again.

The other way round is that the multiple-inclusion guard is defined when
the file is included first.  In that case, the file is now regarded as
guarded as well.


To generate a diff of this commit:
cvs rdiff -u -r1.702 -r1.703 src/usr.bin/make/parse.c
cvs rdiff -u -r1.8 -r1.9 \
    src/usr.bin/make/unit-tests/directive-include-guard.exp
cvs rdiff -u -r1.9 -r1.10 \
    src/usr.bin/make/unit-tests/directive-include-guard.mk

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




Home | Main Index | Thread Index | Old Index