From 202eb3b349348d04e15926777d7a3b7f8526c557 Mon Sep 17 00:00:00 2001 From: Jeroen van Wolffelaar Date: Fri, 24 Feb 2006 03:24:36 +0000 Subject: [PATCH] Make a reminder that fb_suite dealing isn't always giving correct results, I'll fix it later, but it's currently too hard to think about correctly --- lib/Packages/Search.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Packages/Search.pm b/lib/Packages/Search.pm index b2f4e2c..e863717 100644 --- a/lib/Packages/Search.pm +++ b/lib/Packages/Search.pm @@ -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 ); -- 2.39.2