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: sjg
Date: Sun Aug 3 21:56:39 UTC 2025
Modified Files:
src/usr.bin/make: job.c meta.c meta.h
src/usr.bin/make/unit-tests: Makefile
Added Files:
src/usr.bin/make/unit-tests: meta-output.exp meta-output.mk
Log Message:
make: ensure output captured in meta file is accurate
In CollectOutput() a newline before the end of job->outBuf
results in a short write to stdout, but meta_job_output()
was recording the entire string in the meta file, so on
next call the left overs would be duplicated in the meta file.
Pass a length to meta_job_output() if it should only report part of
the data in meta file.
To generate a diff of this commit:
cvs rdiff -u -r1.517 -r1.518 src/usr.bin/make/job.c
cvs rdiff -u -r1.215 -r1.216 src/usr.bin/make/meta.c
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/make/meta.h
cvs rdiff -u -r1.369 -r1.370 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r0 -r1.1 src/usr.bin/make/unit-tests/meta-output.exp \
src/usr.bin/make/unit-tests/meta-output.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