]> git.ipfire.org Git - thirdparty/make.git/commit
[SV 42249] Propagate correct rule status results.
authorPaul Smith <psmith@gnu.org>
Thu, 1 May 2014 13:48:10 +0000 (09:48 -0400)
committerPaul Smith <psmith@gnu.org>
Thu, 1 May 2014 13:51:04 +0000 (09:51 -0400)
commit0faa98a0bbf05d63f9385de9d66d1707257ab437
tree3a8feb31a095d398bee36b8f5c62fd24707edf91
parent8411528fdd21e978076365df2f49e2b934becb84
[SV 42249] Propagate correct rule status results.

* remake.c (update_file, update_file_1, check_dep): Return an enum
  update_status value instead of an int, and keep the highest value we
  find as we walk the graph so that the ultimate status is correct.
* tests/scripts/options/dash-q: Add a test for updating prerequisites.
remake.c
tests/scripts/options/dash-q