reformime bug?

Denys Vlasenko vda.linux at googlemail.com
Thu Sep 16 14:33:28 UTC 2010


On Thu, Sep 16, 2010 at 3:32 PM, Vladimir Dronnikov <dronnikov at gmail.com> wrote:
>> Sorry, no strace on that machine installed. Doesn't the error happen on
>> your system?
>
> I've no BB setup within my grasp.
>
> Can someone on the list help us?

This line expects CR,NL terminated lines:

        while ((line = xmalloc_fgets_str(stdin, "\r\n\r\n")) != NULL) {

but makemime's output is only NL-terminated.

This works for me:

cat makemime_result | sed $'s/$/\r/' | ./busybox reformime; echo $?

-- 
vda


More information about the busybox mailing list