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:
4cbb8e0
)
Formerly read.c.~44~
author
Roland McGrath
<roland@redhat.com>
Wed, 18 Nov 1992 19:54:01 +0000
(19:54 +0000)
committer
Roland McGrath
<roland@redhat.com>
Wed, 18 Nov 1992 19:54:01 +0000
(19:54 +0000)
read.c
patch
|
blob
|
history
diff --git
a/read.c
b/read.c
index
13dc002
..
e276bc6
100644
(file)
--- a/
read.c
+++ b/
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;
}