Strange echo behaviour

Denys Vlasenko vda.linux at googlemail.com
Mon Feb 7 01:06:04 UTC 2011


On Thursday 27 January 2011 12:30, Baruch Siach wrote:
> > Looks like uClibc. Need to experiment with glibc...
> 
> Indeed. You can easily trigger this and the following bug on x86 using Rob's 
> static uClibc Busybox build 
> (http://landley.net/aboriginal/downloads/binaries/old/1.0.0/extras/busybox-x86_64).  
> Does a write() based implementation of echo looks like a solution for you?

I just committed a fix which does exactly that. stdio-based echo
needs fpurge(fp), which is non-stantard... I'd rather not go there.

-- 
vda


More information about the busybox mailing list