]> git.saurik.com Git - apt.git/commitdiff
add fixme for the future flJustExtension
authorMichael Vogt <mvo@debian.org>
Wed, 29 Oct 2008 17:58:48 +0000 (18:58 +0100)
committerMichael Vogt <mvo@debian.org>
Wed, 29 Oct 2008 17:58:48 +0000 (18:58 +0100)
apt-pkg/acquire-item.cc

index ae8ff220594e311bc0909f9a8f50a7cfb5c4e48a..09ea5da02c667deff6070e884c8fa409715e772c 100644 (file)
@@ -718,6 +718,10 @@ void pkgAcqIndex::Done(string Message,unsigned long Size,string Hash,
    else if(compExt == "gz") 
       decompProg = "gzip";
    // flExtensions returns the full name if no extension is found
+   // this is why we have this complicated compare operation here
+   // FIMXE: add a new flJustExtension() that return "" if no
+   //        extension is found and use that above so that it can
+   //        be tested against ""
    else if(compExt == flNotDir(URI(Desc.URI).Path))
       decompProg = "copy";
    else {