]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
recognize 1 as true for reboot suggested and
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Fri, 9 May 2008 18:28:00 +0000 (18:28 +0000)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Fri, 9 May 2008 18:28:00 +0000 (18:28 +0000)
restart suggested (bnc#388818)

package/libsatsolver.changes
tools/repo_updateinfoxml.c

index bc5650868a66f5c3f11e83fa9341d83a076bcfaa..54041d4bf459977692840f0fd533a44945900275 100644 (file)
@@ -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
 
index 41381ff584c2c5c738d11abf9cda34ec7a5f8925..90bb3d3ae9014f1dce4d68badbf0c4de0d33e10c 100644 (file)
@@ -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);