diff options
author | Roland McGrath <roland@redhat.com> | 1994-04-22 21:58:26 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1994-04-22 21:58:26 +0000 |
commit | 3c9e8b266a12ee95f479461c9b425833fa7d134c (patch) | |
tree | 0c9306c621665eb11df3341dd5d04f9eb8731a94 | |
parent | e6bce5ef88ed59adb5b6a20569d0969cba45bb33 (diff) | |
download | gunmake-3c9e8b266a12ee95f479461c9b425833fa7d134c.tar.gz |
(update_goal_chain): Reset FILE to G->file after the double-colon loop so3.70.3
it is never null for following code.
-rw-r--r-- | remake.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -179,6 +179,9 @@ update_goal_chain (goals, makefiles) break; } + /* Reset FILE since it is null at the end of the loop. */ + file = g->file; + if (stop || !any_not_updated) { /* If we have found nothing whatever to do for the goal, |