From: short <> Date: Sun, 6 Jun 2004 15:47:19 +0000 (+0000) Subject: Comment 'FIXME' cases occurance. X-Git-Tag: bp_apache20~35 X-Git-Url: http://git.jankratochvil.net/?p=www.jankratochvil.net.git;a=commitdiff_plain;h=865903cee4ca797a0a4211c8dd691b252d6e6403 Comment 'FIXME' cases occurance. --- diff --git a/project/List.html.pl b/project/List.html.pl index 5054d71..fc149c9 100755 --- a/project/List.html.pl +++ b/project/List.html.pl @@ -112,6 +112,7 @@ my($platform)=@_; my $order_by=$order_by; my $minus=($order_by=~s/^(-)//)[0]; # FIXME: 'cmp' or '<=>'? + # Currently it complains on "name" not <=>able if two projects have the same 'priority'. my $r=($item{$a}{$order_by} <=> $item{$b}{$order_by}); $r=-$r if $minus; return $r if $r;