diff options
author | Fabian Groffen <grobian@gentoo.org> | 2019-05-04 19:23:12 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2019-05-04 19:23:12 +0200 |
commit | a6ca96154d2429bdc840454bdfa9fcb42c0e49a8 (patch) | |
tree | 833399a915e292eeb8e20104cd95846cadedef58 /qkeyword.c | |
parent | libq/cache: probably fix crash from bug #684252#c22 (diff) | |
download | portage-utils-a6ca96154d2429bdc840454bdfa9fcb42c0e49a8.tar.gz portage-utils-a6ca96154d2429bdc840454bdfa9fcb42c0e49a8.tar.bz2 portage-utils-a6ca96154d2429bdc840454bdfa9fcb42c0e49a8.zip |
qkeyword: use combined set of arches found on all overlays
Bug: https://bugs.gentoo.org/684252
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'qkeyword.c')
-rw-r--r-- | qkeyword.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -677,9 +677,6 @@ qkeyword_load_arches(const char *overlay) if (!fp) goto done; - clear_set(archs); - archlist_count = 0; - arch_longest_len = 0; buf = NULL; while ((linelen = getline(&buf, &buflen, fp)) >= 0) { rmspace_len(buf, (size_t)linelen); @@ -798,6 +795,9 @@ int qkeyword_main(int argc, char **argv) } archs = create_set(); + archlist_count = 0; + arch_longest_len = 0; + data.lastatom = NULL; data.keywordsbuf = NULL; data.keywordsbuflen = 0; |