Strange echo behaviour

Peter Korsgaard jacmet at
Thu Jan 27 09:44:13 UTC 2011

>>>>> "Denys" == Denys Vlasenko <vda.linux at> writes:

 >> That is, the return value of write() is larger that the written buffer (is
 >> this legal?) so echo (or ash) tries again with a bogus count == -1.

 Denys> I think this needs to be fixed in uClibc, but this looks like a
 Denys> grave kernel bug.

Yes, I sent a fix to linux-input:

Bye, Peter Korsgaard

More information about the busybox mailing list