mirror of
https://github.com/mirror/make.git
synced 2025-03-01 13:20:39 +08:00
(update_goal_chain): Reset FILE to G->file after the double-colon loop so
it is never null for following code.
This commit is contained in:
parent
e6bce5ef88
commit
3c9e8b266a
3
remake.c
3
remake.c
@ -179,6 +179,9 @@ update_goal_chain (goals, makefiles)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Reset FILE since it is null at the end of the loop. */
|
||||||
|
file = g->file;
|
||||||
|
|
||||||
if (stop || !any_not_updated)
|
if (stop || !any_not_updated)
|
||||||
{
|
{
|
||||||
/* If we have found nothing whatever to do for the goal,
|
/* If we have found nothing whatever to do for the goal,
|
||||||
|
Loading…
Reference in New Issue
Block a user