]> git.deb.at Git - deb/packages.git/commitdiff
Make a reminder that fb_suite dealing isn't always giving correct results,
authorJeroen van Wolffelaar <jeroen@wolffelaar.nl>
Fri, 24 Feb 2006 03:24:36 +0000 (03:24 +0000)
committerJeroen van Wolffelaar <jeroen@wolffelaar.nl>
Fri, 24 Feb 2006 03:24:36 +0000 (03:24 +0000)
I'll fix it later, but it's currently too hard to think about correctly

lib/Packages/Search.pm

index b2f4e2c700eeaf9a8b99009eb9174e81a0e37402..e863717b97b2e795683a6dd8850bb8f8a84f8f07 100644 (file)
@@ -387,6 +387,9 @@ sub read_entry_simple {
     my %virt = split /\01/o, $virt; 
     debug( "read_entry_simple: key=$key, archives=".
           join(" ",(keys %$archives)).", suite=$suite", 1) if DEBUG;
+    # FIXME: not all of the 2^4=16 combinations of empty(results),
+    # empty(virt{suite}), empty(fb_result), empty(virt{fb_suite}) are dealt
+    # with correctly, but it's adequate enough for now
     return [ $virt{$suite} ] unless defined $result;
     foreach (split /\000/o, $result) {
        my @data = split ( /\s/o, $_, 8 );