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:           Fri Mar  7 06:50:35 UTC 2025

Modified Files:
        src/usr.bin/make: job.c main.c make.h

Log Message:
make: clean up comments and code for parallel mode

Most of the comments didn't help understand the code.

The Finish function was named way too soft for what it does, which is to
exit without cleaning up properly. Since it was used only once, inline
it. The code from that function causes jobs to be terminated early when
an unrelated target has failed, resulting in partially written files,
due to SIGPIPE.


To generate a diff of this commit:
cvs rdiff -u -r1.486 -r1.487 src/usr.bin/make/job.c
cvs rdiff -u -r1.638 -r1.639 src/usr.bin/make/main.c
cvs rdiff -u -r1.349 -r1.350 src/usr.bin/make/make.h

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