<[EMAIL PROTECTED]> writes:

> Today I downloaded the new wget release (1.8) (I'm a huge fan of the
> util btw ;p ) and have been trying out the rate-limit feature.
[...]
> assertion "p - bp->buffer <= bp->width" failed: file "progress.c",
> line 673

Thanks for the report.  The bug shows with downloads whose ETA is 10
or more hours, and is trivially fixed by this patch, already applied
to the CVS:

Index: progress.c
===================================================================
RCS file: /pack/anoncvs/wget/src/progress.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- progress.c  2001/12/09 01:24:40     1.21
+++ progress.c  2001/12/09 04:51:40     1.22
@@ -647,7 +647,7 @@
        /* Hours not printed: pad with three spaces (two digits and
           colon). */
        APPEND_LITERAL ("   ");
-      else if (eta_hrs >= 10)
+      else if (eta_hrs < 10)
        /* Hours printed with one digit: pad with one space. */
        *p++ = ' ';
       else

Reply via email to