projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
39357f4
)
Fix getting sub-depends.
author
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 6 Jan 2010 02:07:55 +0000
(12:37 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 6 Jan 2010 02:07:55 +0000
(12:37 +1030)
tools/depends.c
patch
|
blob
|
history
diff --git
a/tools/depends.c
b/tools/depends.c
index 6c61cca0ec76bc8dcc52b04fa61349bd7727ed48..4c31e50a12ef5a825537a802578373af3d00ede9 100644
(file)
--- a/
tools/depends.c
+++ b/
tools/depends.c
@@
-181,12
+181,13
@@
get_all_deps(const void *ctx, const char *dir, const char *name,
for (i = 0; i < num; i++) {
char **newdeps;
unsigned int j, newnum;
+ char *subinfo = NULL;
if (!strstarts(deps[i], "ccan/"))
continue;
newdeps = get_one(ctx, dir, deps[i] + strlen("ccan/"),
- &newnum,
infofile
);
+ &newnum,
&subinfo
);
/* Should be short, so brute-force out dups. */
for (j = 0; j < newnum; j++) {