diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-05-16 18:52:57 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-05-16 18:52:57 +0000 |
commit | bfb7ca9ccb5c7f062b1120e01cf40e432683e32c (patch) | |
tree | 9399804a9ad3c985b0bb73df5ee61c771a8f7c9b | |
parent | 4dd4e6ae1babaecefabce7c168bf4435ba00283c (diff) |
Fix a brain blunder in the HTML output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22094 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | utils/userloc.pl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/userloc.pl b/utils/userloc.pl index 3358cc2dc8..e9e4b9062a 100755 --- a/utils/userloc.pl +++ b/utils/userloc.pl @@ -161,19 +161,20 @@ sub printStats 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}; |