Module Name: src Committed By: rillig Date: Mon Feb 24 23:06:40 UTC 2025
Modified Files: src/usr.bin/make: job.c Log Message: make: on interrupt in parallel mode, reliably remove the targets Previously, when make was interrupted in parallel mode, it first removed the current job's target and then forwarded the signal to the child process. This left a little gap in which the child process had the chance of recreating the target, leading to incomplete, often zero-sized target files. Now first forward the signal to the child process, then wait for the child process to finish, and finally remove the target file. To generate a diff of this commit: cvs rdiff -u -r1.485 -r1.486 src/usr.bin/make/job.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.