On Thursday 29 March 2007 11:04, Ignacio García Pérez wrote:
> Thanks for the hint, though I already found out.

In fact, I learned that from your excellent report.

> IMHO my fix is better.

-       printf("%.*s\n", terminal_width, buffer);
+       if (terminal_width < buffer_width) buffer[terminal_width] = 0;
+       printf("%s\n", buffer);

It is also bigger. For busybox we try to use smaller code.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to