Ha!
Time is going, I'm getting more clever...
Here is the patch. It is for bincimap-1.1.8, maybe for laters. At least
0xFF chars from messages are now passed correctly and no exception are
throwed.
File is in src/parsers/mine/
It will be good if you will create updated FreeBSD ports as soon as
possible for version 1.2.* (not for 1.1.8 as it is now). Maybe with this
patch :)
*** mime-utils.h.orig Sat Sep 6 21:33:01 2003
--- mime-utils.h Sat Sep 6 21:40:24 2003
***************
*** 98,109 ****
CRLFbuffersize--;
return c;
}
while ((c = fgetc(fp)) != '\n')
! if (c != '\r')
! return CRLFlastchar = c;
if (CRLFlastchar != '\r') {
CRLFbuffer.push('\n');
CRLFbuffersize++;
return CRLFlastchar = '\r';
--- 98,111 ----
CRLFbuffersize--;
return c;
}
while ((c = fgetc(fp)) != '\n')
! if (c != '\r') {
! CRLFlastchar = c;
! return c;
! }
if (CRLFlastchar != '\r') {
CRLFbuffer.push('\n');
CRLFbuffersize++;
return CRLFlastchar = '\r';
With best regards.