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 | 5a6856656617d8ec4a59858ba8d185b02446b577 (patch) | |
| tree | a4197c654a5891bc06eb10ef1146592d2b892c5f /llvm | |
| parent | 8dd912797036e24663d636ccfa308e4f9cdfc0ae (diff) | |
| download | bcm5719-llvm-5a6856656617d8ec4a59858ba8d185b02446b577.tar.gz bcm5719-llvm-5a6856656617d8ec4a59858ba8d185b02446b577.zip | |
Fix a brain blunder in the HTML output.
llvm-svn: 22094
Diffstat (limited to 'llvm')
| -rwxr-xr-x | llvm/utils/userloc.pl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/utils/userloc.pl b/llvm/utils/userloc.pl index 3358cc2dc88..e9e4b9062ad 100755 --- a/llvm/utils/userloc.pl +++ b/llvm/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}; |

