mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2025-01-30 16:41:44 +00:00
Formerly read.c.~63~
This commit is contained in:
parent
d66f4e3407
commit
e176cf73a5
1 changed files with 4 additions and 7 deletions
11
read.c
11
read.c
|
@ -1900,17 +1900,14 @@ multi_glob (chain, size)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
free (old->name);
|
|
||||||
free (old);
|
|
||||||
|
|
||||||
/* Find the end of the FOUND chain. */
|
/* Find the end of the FOUND chain. */
|
||||||
old = found;
|
struct nameseq *f = found;
|
||||||
while (old->next != 0)
|
while (f->next != 0)
|
||||||
old = old->next;
|
f = f->next;
|
||||||
|
|
||||||
/* Attach the chain being built to the end of the FOUND
|
/* Attach the chain being built to the end of the FOUND
|
||||||
chain, and make FOUND the new NEW chain. */
|
chain, and make FOUND the new NEW chain. */
|
||||||
old->next = new;
|
f->next = new;
|
||||||
new = found;
|
new = found;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue