]> git.ipfire.org Git - thirdparty/make.git/commit
[SV 47151] Exit with 1 when checking recursive make -q
authorPaul Smith <psmith@gnu.org>
Mon, 29 Feb 2016 01:20:18 +0000 (20:20 -0500)
committerPaul Smith <psmith@gnu.org>
Mon, 29 Feb 2016 06:33:50 +0000 (01:33 -0500)
commit89e18c12ebbd4245b8600af0b3fdbffe0d73bffe
treef68037ee3e9cd383ae8531be170a7c77de3fbf79
parentbccd01354b7e8f75f3e86cefb34f8a7f908bc360
[SV 47151] Exit with 1 when checking recursive make -q

* job.h (struct child): New bit to mark recursive command lines.
* job.c (start_job_command): Set the recursive command line bit.
(reap_children): If the child is a recursive command and it exits
with 1 during question mode, don't print an error and exit with 1.
* tests/scripts/options/dash-q: Add a regression test.
job.c
job.h
tests/scripts/options/dash-q