Follow-up Comment #3, bug #56892 (project make): I can think of one way to address these types of issues that might not be too impactful:
Make knows both how deep inside a recursion it is (via MAKELEVEL) and also how many times its re-exec'd itself (via MAKE_RESTARTS). It could check to see if either of those values seems outrageous and stop. For example, if our MAKELEVEL is > 100 or our MAKE_RESTARTS > 1000, or something, we'd fail with an error. I don't know if we'd need to provide a way for the user to reset these limits in case they had a legitimate need for "outrageous" values. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56892> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make