MFC to RELENG_6.
Fix the "..." special command. If this command is found all further commands for this target are appended to the .END target instead of beeing executed now. They are executed when the graph is finished. There was a bug with executing the .END target which came in when doing conversion to LST_FOREACH() which caused make to dump core. PR: bin/83698 Submitted by: Max Okumoto <okumoto@ucsd.edu> Approved by: re
This commit is contained in:
parent
339c3c8a5d
commit
44e27bfe20
@ -3367,7 +3367,7 @@ Compat_Run(Lst *targs)
|
||||
*/
|
||||
if (error_cnt == 0) {
|
||||
LST_FOREACH(ln, &ENDNode->commands) {
|
||||
if (Compat_RunCommand(Lst_Datum(ln), gn))
|
||||
if (Compat_RunCommand(Lst_Datum(ln), ENDNode))
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user