mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-25 13:41:45 +00:00
Formerly read.c.~44~
This commit is contained in:
parent
4cbb8e0d70
commit
fa0cf27f72
1 changed files with 9 additions and 4 deletions
13
read.c
13
read.c
|
@ -1182,10 +1182,15 @@ record_files (filenames, pattern, pattern_percent, deps, commands_started,
|
|||
moredeps = this;
|
||||
}
|
||||
|
||||
d = firstdeps;
|
||||
while (d->next != 0)
|
||||
d = d->next;
|
||||
d->next = moredeps;
|
||||
if (firstdeps == 0)
|
||||
firstdeps = moredeps;
|
||||
else
|
||||
{
|
||||
d = firstdeps;
|
||||
while (d->next != 0)
|
||||
d = d->next;
|
||||
d->next = moredeps;
|
||||
}
|
||||
|
||||
f->deps = firstdeps;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue