Vladimir Volovich <[EMAIL PROTECTED]> writes:

> while downloading some file (via http) with wget 1.8, i got an error:
> 
> assertion failed: p - bp->buffer <= bp->width, file progress.c, line 673
> Abort (core dumped)

Thanks for the report.  It's a known problem in 1.8, fixed by this
patch.

Index: src/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
--- src/progress.c      2001/12/09 01:24:40     1.21
+++ src/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