projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e37fdd5
)
- do away with printdir
author
Michael Schroeder
<mls@suse.de>
Fri, 14 Mar 2008 10:08:13 +0000
(10:08 +0000)
committer
Michael Schroeder
<mls@suse.de>
Fri, 14 Mar 2008 10:08:13 +0000
(10:08 +0000)
tools/dumpsolv.c
patch
|
blob
|
history
diff --git
a/tools/dumpsolv.c
b/tools/dumpsolv.c
index
480d300
..
c33a21e
100644
(file)
--- a/
tools/dumpsolv.c
+++ b/
tools/dumpsolv.c
@@
-51,23
+51,6
@@
printids(Repo *repo, char *kind, Offset ido)
printf(" %s\n", dep2str(pool, id));
}
printf(" %s\n", dep2str(pool, id));
}
-static void
-printdir(Repodata *data, Id dir)
-{
- Id comp;
- Id parent = dirpool_parent(&data->dirpool, dir);
- if (parent)
- {
- printdir(data, parent);
- putchar('/');
- }
- comp = dirpool_compid(&data->dirpool, dir);
- if (data->localpool)
- printf("%s", stringpool_id2str(&data->spool, comp));
- else
- printf("%s", id2str(data->repo->pool, comp));
-}
-
int
dump_repoattrs_cb(void *vcbdata, Solvable *s, Repodata *data, Repokey *key, KeyValue *kv)
{
int
dump_repoattrs_cb(void *vcbdata, Solvable *s, Repodata *data, Repokey *key, KeyValue *kv)
{