On Wednesday 28 March 2007 23:05, Bernhard Fischer wrote:
> On Wed, Mar 28, 2007 at 03:25:29PM +0200, Ignacio García Pérez wrote:
> >Made some more tests...
> >
> >I installed bash and tried ps with the same baffling results, which
> >means the problem is not in the busybox shell I'm using (ash).
> >
> >Again, any clues welcome...
libc bug in printf("%.*s\n", MAX_INT, buffer);
Wroked around by replacing MAX_INT by 30000 here:
terminal_width = 30000;
if (isatty(1)) {
get_terminal_width_height(1, &terminal_width, NULL);
terminal_width--;
}
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox