Displaying 1 result from an estimated 1 matches for "xferbytes".
2016 Jan 29
2
[Bug 11704] New: rsyncstats sorts dates wrong
...21 27289 93731.06716 5.61 6.21
The problem is this:
sub datecompare {
$a gt $b;
}
This function should return -1,0,1 and not true/false.
It should be:
sub datecompare {
$a cmp $b;
}
because this is default sort rule you can change:
@dates = sort datecompare keys %xferbytes;
to
@dates = sort keys %xferbytes;
foreach $date (sort datecompare keys %xferbytes) {
to
foreach $date (sort keys %xferbytes) {
--
You are receiving this mail because:
You are the QA Contact for the bug.