Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   rillig
Date:           Wed Sep 23 03:06:39 UTC 2020

Modified Files:
        src/distrib/sets/lists/tests: mi
        src/usr.bin/make: compat.c job.c make.h nonints.h targ.c
        src/usr.bin/make/unit-tests: Makefile deptgt-end.mk
Added Files:
        src/usr.bin/make/unit-tests: deptgt-end-jobs.exp deptgt-end-jobs.mk

Log Message:
make(1): fix assertion failure in -j mode with .END node

There had been two separate global variables for the .END node, and in
parallel mode, only the one in jobs.c was initialized.

The code in JobRun heads over to Compat_Make without calling Compat_Run
first, which left the variable ENDNode uninitialized.


To generate a diff of this commit:
cvs rdiff -u -r1.925 -r1.926 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.148 -r1.149 src/usr.bin/make/compat.c
cvs rdiff -u -r1.234 -r1.235 src/usr.bin/make/job.c
cvs rdiff -u -r1.144 -r1.145 src/usr.bin/make/make.h
cvs rdiff -u -r1.126 -r1.127 src/usr.bin/make/nonints.h
cvs rdiff -u -r1.89 -r1.90 src/usr.bin/make/targ.c
cvs rdiff -u -r1.145 -r1.146 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r0 -r1.1 src/usr.bin/make/unit-tests/deptgt-end-jobs.exp \
    src/usr.bin/make/unit-tests/deptgt-end-jobs.mk
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/deptgt-end.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