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:
375a7cb
)
remove duplicate repodata_internalize
author
Klaus Kaempf
<kkaempf@suse.de>
Fri, 5 Sep 2008 16:58:01 +0000
(16:58 +0000)
committer
Klaus Kaempf
<kkaempf@suse.de>
Fri, 5 Sep 2008 16:58:01 +0000
(16:58 +0000)
tools/repo_products.c
patch
|
blob
|
history
diff --git
a/tools/repo_products.c
b/tools/repo_products.c
index
da95b2a
..
50fd537
100644
(file)
--- a/
tools/repo_products.c
+++ b/
tools/repo_products.c
@@
-502,7
+502,7
@@
repo_add_products(Repo *repo, Repodata *repodata, const char *proddir, const cha
memset(&pd, 0, sizeof(pd));
pd.repo = repo;
pd.pool = repo->pool;
- pd.data = repo
_add_repodata(pd.repo, 0)
;
+ pd.data = repo
data
;
pd.content = malloc(256);
pd.acontent = 256;
@@
-523,9
+523,6
@@
repo_add_products(Repo *repo, Repodata *repodata, const char *proddir, const cha
{
parse_dir(dir, fullpath, &pd, repodata, code11);
}
-
- if (pd.data)
- repodata_internalize(pd.data);
free(pd.content);
join_freemem();