From: Klaus Kämpf Date: Fri, 19 Feb 2010 12:34:15 +0000 (+0100) Subject: Fix uservisible parsing for rpmmd patterns X-Git-Tag: BASE-SuSE-Code-12_1-Branch~160^2~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=204c3b9df5ded0c70ec2eddaee09d487df2181b1;p=thirdparty%2Flibsolv.git Fix uservisible parsing for rpmmd patterns And create testcase for it. --- diff --git a/ext/repo_rpmmd.c b/ext/repo_rpmmd.c index 7b8965be..f6e96049 100644 --- a/ext/repo_rpmmd.c +++ b/ext/repo_rpmmd.c @@ -777,6 +777,9 @@ startElement(void *userData, const char *name, const char **atts) case STATE_DESCRIPTION: pd->tmplang = find_attr("lang", atts); break; + case STATE_USERVISIBLE: + repodata_set_void(pd->data, handle, SOLVABLE_ISVISIBLE ); + break; case STATE_LOCATION: str = find_attr("href", atts); if (str)