Hi, In a few months, the DSAs will have four digits. With the current sorting method (lexically), we will have the following sorting scheme: dsa-1000 dsa-1001 dsa-998 dsa-999 Can somebody confirm that there is no problem if I apply the attached patch? (it sorts numerically instead of lexically). Cheers, -- Thomas Huriaux
Index: recent_list.wml =================================================================== RCS file: /cvs/webwml/webwml/english/template/debian/recent_list.wml,v retrieving revision 1.130 diff -u -r1.130 recent_list.wml --- recent_list.wml 15 Sep 2005 11:19:17 -0000 1.130 +++ recent_list.wml 17 Nov 2005 14:58:15 -0000 @@ -183,7 +183,7 @@ @files = ( @files, @new_files ); } - @files = sort {$a cmp $b} @files; + @files = sort {$a <=> $b} @files; #warn "files: " . join " ", @files; warn "\n"; #warn "years: " . join " ", @years; warn "\n";
Attachment:
signature.asc
Description: Digital signature