From: Duncan Mac-Vicar P Date: Fri, 9 May 2008 18:28:00 +0000 (+0000) Subject: recognize 1 as true for reboot suggested and X-Git-Tag: BASE-SuSE-Code-12_1-Branch~308^2~359 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e0005dc1bc39c9fe4c411ea8a1a93b082f4c67a;p=thirdparty%2Flibsolv.git recognize 1 as true for reboot suggested and restart suggested (bnc#388818) --- diff --git a/package/libsatsolver.changes b/package/libsatsolver.changes index bc565086..54041d4b 100644 --- a/package/libsatsolver.changes +++ b/package/libsatsolver.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri May 9 20:26:52 CEST 2008 - dmacvicar@suse.de + +- recognize 1 as true for reboot suggested and + restart suggested (bnc#388818) + ------------------------------------------------------------------- Fri May 9 16:04:42 CEST 2008 - kkaempf@suse.de diff --git a/tools/repo_updateinfoxml.c b/tools/repo_updateinfoxml.c index 41381ff5..90bb3d3a 100644 --- a/tools/repo_updateinfoxml.c +++ b/tools/repo_updateinfoxml.c @@ -534,7 +534,7 @@ endElement(void *userData, const char *name) { if (pd->content && (pd->content[0] == 'T' - || pd->content[0] == 't')) + || pd->content[0] == 't'|| pd->content[0] == '1')) { /* FIXME: this is per-package, the global flag should be computed at runtime */ repodata_set_void(pd->data, pd->datanum, UPDATE_REBOOT); @@ -547,7 +547,7 @@ endElement(void *userData, const char *name) { if (pd->content && (pd->content[0] == 'T' - || pd->content[0] == 't')) + || pd->content[0] == 't' || pd->content[0] == '1')) { /* FIXME: this is per-package, the global flag should be computed at runtime */ repodata_set_void(pd->data, pd->datanum, UPDATE_RESTART);