Applying reformime subsequent on makemime
Vladimir Dronnikov
dronnikov at gmail.com
Mon Jul 6 11:08:13 UTC 2009
>>
>> So just a decision is needed how reformime should determine lines. Can
>> you clarify it, Denys?
>
> Is it feasible to make reformime treat BOTH \n and \r\n
> as end-of-line?
In fact this is the matter of the following condition:
while ((line = xmalloc_fgets_str(stdin, "\r\n\r\n")) != NULL) { ...
So we can do the following: upon the first occurance of \n to
determine whether or not it is prepended by \r, and then use the rule
to the whole content, right?
--
Vladimir
More information about the busybox
mailing list