> On a system with multiple kernel-source rpms installed rpmdrake stops
the
> check for installed pkgs after the first listed is found.
> So current kernel-source, even though already installed, Always shows
as an
> available update.

Argh, I probably never get this comparison right :(

--- rpmdrake-1.4/utils.c.orig   Mon Feb  4 15:52:31 2002
+++ rpmdrake-1.4/utils.c        Wed Feb 20 16:54:42 2002
@@ -264,7 +264,7 @@
     }
   }
 
-  return compare;
+  return compare ? compare < 0 : 0 ;
 }
 
 /**

Reply via email to