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:
ff29874
)
- only add info block if there are file provides
author
Michael Schroeder
<mls@suse.de>
Wed, 19 Mar 2008 18:56:02 +0000
(18:56 +0000)
committer
Michael Schroeder
<mls@suse.de>
Wed, 19 Mar 2008 18:56:02 +0000
(18:56 +0000)
tools/common_write.c
patch
|
blob
|
history
diff --git
a/tools/common_write.c
b/tools/common_write.c
index
c9ea71c
..
a16b1b1
100644
(file)
--- a/
tools/common_write.c
+++ b/
tools/common_write.c
@@
-158,7
+158,8
@@
tool_write(Repo *repo, const char *basename, const char *attrname)
fileinfos = sat_zextend(fileinfos, nfileinfos, 1, sizeof(Repodatafile), REPODATAFILE_BLOCK);
pool_addfileprovides_ids(repo->pool, 0, &fileinfos[nfileinfos].addedfileprovides);
- nfileinfos++;
+ if (fileinfos[nfileinfos].addedfileprovides)
+ nfileinfos++;
if (basename)
{