]> git.saurik.com Git - apt.git/commitdiff
* apt-pkg/deb/debmetaindex.cc: comparison with string literal results
authorMichael Vogt <michael.vogt@ubuntu.com>
Wed, 3 Oct 2007 00:19:54 +0000 (02:19 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Wed, 3 Oct 2007 00:19:54 +0000 (02:19 +0200)
    in unspecified behaviour;

apt-pkg/deb/debmetaindex.cc
debian/changelog

index 94995798f2cfbcef04668641ff18a0ffeddab4e0..c700f8d5859156025036c804264d6fbd8929f47b 100644 (file)
@@ -224,7 +224,7 @@ class debSLTypeDebian : public pkgSourceList::Type
         // This check insures that there will be only one Release file
         // queued for all the Packages files and Sources files it
         // corresponds to.
-        if ((*I)->GetType() == "deb")
+        if (strcmp((*I)->GetType(), "deb") == 0)
         {
            debReleaseIndex *Deb = (debReleaseIndex *) (*I);
            // This check insures that there will be only one Release file
index 3f1641ee295c804604f3d6356035dacf80467df5..87b9dd0244019353e7167c63b880fd546b2f80cd 100644 (file)
@@ -1,15 +1,17 @@
 apt (0.7.6ubuntu12) gutsy; urgency=low
 
+  [ Michael Vogt ]
   * cmdline/apt-mark:
     - Fix chmoding after have renamed the extended-states file (LP: #140019)
       (thanks to Laurent Bigonville, LP: #140019)
+  * apt-pkg/deb/debmetaindex.cc: comparison with string literal results
+      in unspecified behaviour;
 
   [Paul Sladen]
-
   * Have 'cron.daily/apt' send D-Bus doesn't exist error messages
     to the bit bucket.  Thanks to 'dasdda'.  (LP: #115397)
 
- -- 
+ -- Michael Vogt <michael.vogt@ubuntu.com>  Wed, 03 Oct 2007 02:17:45 +0200
 
 apt (0.7.6ubuntu11) gutsy; urgency=low