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:
b2fc502
)
(read_all_makefiles): Properly append default makefiles to the end of the
author
Roland McGrath
<roland@redhat.com>
Tue, 20 Jun 1995 07:47:01 +0000
(07:47 +0000)
committer
Roland McGrath
<roland@redhat.com>
Tue, 20 Jun 1995 07:47:01 +0000
(07:47 +0000)
`read_makefiles' chain.
read.c
patch
|
blob
|
history
diff --git
a/read.c
b/read.c
index 5c49b8ca838002da67f8b48c3b6c7ab6bf27ade7..3c51fa5014f20d66ddbb1270351c9967153538f0 100644
(file)
--- a/
read.c
+++ b/
read.c
@@
-192,6
+192,9
@@
read_all_makefiles (makefiles)
/* No default makefile was found. Add the default makefiles to the
`read_makefiles' chain so they will be updated if possible. */
struct dep *tail = read_makefiles;
+ /* Add them to the tail, after any MAKEFILES variable makefiles. */
+ while (tail != 0 && tail->next != 0)
+ tail = tail->next;
for (p = default_makefiles; *p != 0; ++p)
{
struct dep *d = (struct dep *) xmalloc (sizeof (struct dep));