mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-26 14:00:56 +00:00
(main): When disqualifying makefiles for updating, use double_colon pointer
to find all entries for a file.
This commit is contained in:
parent
3580cdedd8
commit
4e4b1ed670
1 changed files with 1 additions and 3 deletions
4
main.c
4
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)
|
||||
|
|
Loading…
Reference in a new issue