projects
/
platform
/
upstream
/
libsolv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add autoproduct support
[platform/upstream/libsolv.git]
/
ext
/
repo_susetags.c
diff --git
a/ext/repo_susetags.c
b/ext/repo_susetags.c
index
c427200
..
440e2d5
100644
(file)
--- a/
ext/repo_susetags.c
+++ b/
ext/repo_susetags.c
@@
-385,9
+385,9
@@
finish_solvable(struct parsedata *pd, Solvable *s, Offset freshens)
}
static Hashtable
}
static Hashtable
-joinhash_init(Repo *repo, Hash
mask
*hmp)
+joinhash_init(Repo *repo, Hash
val
*hmp)
{
{
- Hash
mask
hm = mkmask(repo->nsolvables);
+ Hash
val
hm = mkmask(repo->nsolvables);
Hashtable ht = solv_calloc(hm + 1, sizeof(*ht));
Hashval h, hh;
Solvable *s;
Hashtable ht = solv_calloc(hm + 1, sizeof(*ht));
Hashval h, hh;
Solvable *s;
@@
-406,7
+406,7
@@
joinhash_init(Repo *repo, Hashmask *hmp)
}
static Solvable *
}
static Solvable *
-joinhash_lookup(Repo *repo, Hashtable ht, Hash
mask
hm, Id name, Id evr, Id arch, Id start)
+joinhash_lookup(Repo *repo, Hashtable ht, Hash
val
hm, Id name, Id evr, Id arch, Id start)
{
Hashval h, hh;
{
Hashval h, hh;
@@
-478,7
+478,7
@@
repo_add_susetags(Repo *repo, FILE *fp, Id defvendor, const char *language, int
Repodata *data = 0;
Id handle = 0;
Hashtable joinhash = 0;
Repodata *data = 0;
Id handle = 0;
Hashtable joinhash = 0;
- Hash
mask
joinhashm = 0;
+ Hash
val
joinhashm = 0;
int createdpkgs = 0;
if ((flags & (SUSETAGS_EXTEND|REPO_EXTEND_SOLVABLES)) != 0 && repo->nrepodata)
int createdpkgs = 0;
if ((flags & (SUSETAGS_EXTEND|REPO_EXTEND_SOLVABLES)) != 0 && repo->nrepodata)
@@
-508,7
+508,7
@@
repo_add_susetags(Repo *repo, FILE *fp, Id defvendor, const char *language, int
{
Repodata *sdata;
int i;
{
Repodata *sdata;
int i;
-
+
FOR_REPODATAS(repo, i, sdata)
{
int p;
FOR_REPODATAS(repo, i, sdata)
{
int p;
@@
-538,7
+538,7
@@
repo_add_susetags(Repo *repo, FILE *fp, Id defvendor, const char *language, int
}
}
}
}
}
}
-
+
/*
* read complete file
*
/*
* read complete file
*