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: Sat Jan 22 18:59:24 UTC 2022
Modified Files:
src/usr.bin/make: compat.c job.c main.c parse.c
src/usr.bin/make/unit-tests: opt-debug-hash.exp opt-debug-hash.mk
Log Message:
make: add missing newline after "cannot continue" message
It was wrong of Parse_File to output an unfinished line and hope for
some other code to finish it. As demonstrated in the test, PrintOnError
did not do that in the case of additional debug output.
To keep the overall behavior as close as possible to before, the other
callers of PrintOnError now have to pass the newline themselves. Passing
strings that start with newlines but don't end with them looked
suspicious anyway.
To generate a diff of this commit:
cvs rdiff -u -r1.237 -r1.238 src/usr.bin/make/compat.c
cvs rdiff -u -r1.448 -r1.449 src/usr.bin/make/job.c
cvs rdiff -u -r1.574 -r1.575 src/usr.bin/make/main.c
cvs rdiff -u -r1.654 -r1.655 src/usr.bin/make/parse.c
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/opt-debug-hash.exp \
src/usr.bin/make/unit-tests/opt-debug-hash.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