projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3580cde
)
(main): When disqualifying makefiles for updating, use double_colon pointer
author
Roland McGrath
<roland@redhat.com>
Tue, 5 Apr 1994 10:20:03 +0000
(10:20 +0000)
committer
Roland McGrath
<roland@redhat.com>
Tue, 5 Apr 1994 10:20:03 +0000
(10:20 +0000)
to find all entries for a file.
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 5118d9720028f274466bd5c92ada07cf3df3e85d..4b360159f59ec3a4dbd4def6d2c53e262e60e4d7 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-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)