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:
0389ed9
)
- add optimization comment
author
Michael Schroeder
<mls@suse.de>
Wed, 30 Jan 2008 12:05:35 +0000
(12:05 +0000)
committer
Michael Schroeder
<mls@suse.de>
Wed, 30 Jan 2008 12:05:35 +0000
(12:05 +0000)
tools/repo_write.c
patch
|
blob
|
history
diff --git
a/tools/repo_write.c
b/tools/repo_write.c
index
ea6d543
..
e0db955
100644
(file)
--- a/
tools/repo_write.c
+++ b/
tools/repo_write.c
@@
-644,6
+644,7
@@
repo_write_cb_sizes(void *vcbdata, Solvable *s, Repodata *data, Repokey *key, Ke
}
if (cbdata->mykeys[rm].storage == KEY_STORAGE_VERTICAL_OFFSET && kv->eof)
{
+ /* we can re-use old data in the blob here! */
data_addid(cbdata->extdata + 0, cbdata->vstart); /* add offset into incore data */
data_addid(cbdata->extdata + 0, xd->len - cbdata->vstart); /* add length into incore data */
cbdata->vstart = 0;