diff options
author | Roland McGrath <roland@redhat.com> | 1993-06-10 22:20:53 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1993-06-10 22:20:53 +0000 |
commit | e176cf73a5c0733a8b6e95bdeb375e3a5fcaeee5 (patch) | |
tree | b740052722cb0976398172349deafa7663e9623b /read.c | |
parent | d66f4e340716ee7057e956e28df6179710314521 (diff) | |
download | gunmake-e176cf73a5c0733a8b6e95bdeb375e3a5fcaeee5.tar.gz |
Formerly read.c.~63~
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -1900,17 +1900,14 @@ multi_glob (chain, size) } else { - free (old->name); - free (old); - /* Find the end of the FOUND chain. */ - old = found; - while (old->next != 0) - old = old->next; + struct nameseq *f = found; + while (f->next != 0) + f = f->next; /* Attach the chain being built to the end of the FOUND chain, and make FOUND the new NEW chain. */ - old->next = new; + f->next = new; new = found; } |