diff options
author | Roland McGrath <roland@redhat.com> | 1994-04-05 10:20:03 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1994-04-05 10:20:03 +0000 |
commit | 4e4b1ed670fe713646539e2a2d94542ddc9b7481 (patch) | |
tree | bf4105bc400c0118acc207d93e90239a27ff5999 /main.c | |
parent | 3580cdedd821a8b6fafe98371616c859441fa2d8 (diff) | |
download | gunmake-4e4b1ed670fe713646539e2a2d94542ddc9b7481.tar.gz |
(main): When disqualifying makefiles for updating, use double_colon pointer
to find all entries for a file.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -862,7 +862,7 @@ main (argc, argv, envp) { register struct file *f = d->file; if (f->double_colon) - do + for (f = f->double_colon; f != NULL; f = f->prev) { if (f->deps == 0 && f->cmds != 0) { @@ -890,9 +890,7 @@ main (argc, argv, envp) break; } - f = f->prev; } - while (f != NULL); if (f == NULL || !f->double_colon) { if (makefile_mtimes == 0) |