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. :-)
213c213
<                 fprintf(stderr, " %3d%% of %s",
---
>                 fprintf(stderr, "%3d%% of %s",
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to