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:
a533b7e
)
- clear lastmarkerpos when recreating the hash
author
Michael Schroeder
<mls@suse.de>
Wed, 21 Dec 2011 11:28:46 +0000
(12:28 +0100)
committer
Michael Schroeder
<mls@suse.de>
Wed, 21 Dec 2011 11:28:46 +0000
(12:28 +0100)
src/repo.c
patch
|
blob
|
history
diff --git
a/src/repo.c
b/src/repo.c
index
4a4a69f
..
d6dcf60
100644
(file)
--- a/
src/repo.c
+++ b/
src/repo.c
@@
-330,6
+330,7
@@
repo_addid_dep_hash(Repo *repo, Offset olddeps, Id id, Id marker, int size)
/* maintain hash and lastmarkerpos */
if (repo->lastidhash_idarraysize != repo->idarraysize || size * 2 > repo->lastidhash_mask || repo->lastmarker != marker)
{
+ repo->lastmarkerpos = 0;
if (size * 2 > repo->lastidhash_mask)
{
repo->lastidhash_mask = mkmask(size < REPO_ADDID_DEP_HASHMIN ? REPO_ADDID_DEP_HASHMIN : size);