Bug 274080 dot files not listed by rview.cgi

r=cls


git-svn-id: svn://10.0.0.236/trunk@166807 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org 2004-12-17 07:21:26 +00:00
parent 957d347eae
commit 34058ead94

View File

@ -167,8 +167,9 @@ my @dirs = ();
DIR:
while( <*> ){
while( <.* *> ){
if( -d $_ ){
next if $_ =~ /^\.{1,2}$/;
push @dirs, $_;
}
}
@ -199,7 +200,7 @@ if( @dirs != 0 ){
print "<P><FONT SIZE=+1><B>Files:</B></FONT>\n";
print "<table>\n<TR VALIGN=TOP>\n<td>\n";
my @files = <*,v>;
my @files = <.*,v *,v>;
$j = 1;
$split = int(@files/4)+1;