[llvm-commits] CVS: llvm/utils/userloc.pl

Reid Spencer reid at x10sys.com
Mon May 16 11:53:08 PDT 2005



Changes in directory llvm/utils:

userloc.pl updated: 1.1 -> 1.2
---
Log message:

Fix a brain blunder in the HTML output.


---
Diffs of the changes:  (+4 -3)

 userloc.pl |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)


Index: llvm/utils/userloc.pl
diff -u llvm/utils/userloc.pl:1.1 llvm/utils/userloc.pl:1.2
--- llvm/utils/userloc.pl:1.1	Mon May 16 13:30:38 2005
+++ llvm/utils/userloc.pl	Mon May 16 13:52:57 2005
@@ -161,19 +161,20 @@
     print " <tr><th style=\"text-align:left\">Directory</th>\n";
     foreach $user (keys %Stats)
     {
-      print "<th style=\"text-align:right\">",$user,"</th></tr>\n";
+      print "<th style=\"text-align:right\">",$user,"</th>\n";
     }
+    print "</tr>\n";
   }
 
   $RowCount++;
 
-  foreach $user (keys %{$hash}) { $total += $hash->{$user}; }
-
   if ($html)
     { print "<tr><td style=\"text-align:left\">",$dir,"</td>"; }
   else
     { print $dir,"\n"; }
 
+  foreach $user (keys %{$hash}) { $total += $hash->{$user}; }
+
   foreach $user ( sort keys %Stats )
   {
     my $v = $hash->{$user};






More information about the llvm-commits mailing list