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:
11a30e7
)
- clear langcache if the default language changes
author
Michael Schroeder
<mls@suse.de>
Tue, 7 Feb 2012 10:52:05 +0000
(11:52 +0100)
committer
Michael Schroeder
<mls@suse.de>
Tue, 7 Feb 2012 10:52:05 +0000
(11:52 +0100)
ext/repo_susetags.c
patch
|
blob
|
history
diff --git
a/ext/repo_susetags.c
b/ext/repo_susetags.c
index 6395425381df616a3a7e0d9591d3c52945d36bfa..9a8fc6fd2548d34e95eb1b9ce0c8076742320e92 100644
(file)
--- a/
ext/repo_susetags.c
+++ b/
ext/repo_susetags.c
@@
-1107,6
+1107,7
@@
repo_add_susetags(Repo *repo, FILE *fp, Id defvendor, const char *language, int
break;
case CTAG('=', 'L', 'a', 'n'):
pd.language = solv_free(pd.language);
+ memset(pd.langcache, 0, sizeof(pd.langcache));
if (line[6])
pd.language = solv_strdup(line + 6);
break;