Small fetch(1) patch to improve xfer stats readability
Rares Aioanei
bsdlisten at gmail.com
Fri Jul 29 15:08:33 UTC 2011
While fetch, (as invoked by portsnap, in my case) displays the
completion percentage
just fine, when it reaches 100% the output becomes a little messy :
-<hashnumber> <percentage_completed> of <MB> <KBps> <time_left>
Now, when it gets to 100%, the string "100%" gets stuck by the
hashnumber, e.g.
'98727300a76bn062f901100% completed of 65 MB 500KBps 00:00
This little patch fixes the problem. Since this is my first attempt at
sending a patch, please
bare with me. :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fetch.patch
Type: text/x-patch
Size: 112 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20110729/6be678f4/fetch.bin
More information about the freebsd-hackers
mailing list