diff options
author | Matthew Hunt <mph@FreeBSD.org> | 1998-04-22 20:41:01 +0000 |
---|---|---|
committer | Matthew Hunt <mph@FreeBSD.org> | 1998-04-22 20:41:01 +0000 |
commit | 12c757f48ecf48bf89525642fe3485fa84481f7b (patch) | |
tree | 63872abe5528eeec3c8f56dd6099322b65da2ca7 /mail/emil/files/patch-ae | |
parent | Activate urlview. (diff) |
Import of elim, which does character set and other conversions for
email.
PR: 6373
Submitted by: Josh Gilliam <josh@quick.net>
Diffstat (limited to 'mail/emil/files/patch-ae')
-rw-r--r-- | mail/emil/files/patch-ae | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/mail/emil/files/patch-ae b/mail/emil/files/patch-ae new file mode 100644 index 000000000000..cbd6c106a0b4 --- /dev/null +++ b/mail/emil/files/patch-ae @@ -0,0 +1,43 @@ +--- mimeparse.c~ Tue Jun 4 06:36:59 1996 ++++ mimeparse.c Tue Apr 21 05:02:15 1998 +@@ -219,8 +219,39 @@ + inbuf->bodystart, + inbuf->bodyend); + #endif ++ /* FIX */ ++ if (m->sd->encoding == EMULTI && m->sd->endbound != NULL) ++ { ++ int tttt; ++ move_past_boundary(m, m->sd->endbound); ++ for (;;) ++ { ++ tttt = getline(m->sd); ++#ifdef DEBUG ++ if (edebug) ++ fprintf(stderr," getline = %d\n", tttt); ++#endif ++ if (tttt == 1) ++ { ++ inbuf->offset += tttt; ++ inbuf->loffset += 1; ++ continue; ++ } ++ if (tttt == 2 && *(m->sd->contents + m->sd->offset) == '\r') ++ { ++ inbuf->offset += tttt; ++ inbuf->loffset += 1; ++ continue; ++ } ++ break; ++ } ++ ++ } ++ else ++ /* END_FIX */ ++ m->sd->offset = m->sd->bodyend; ++ + +- m->sd->offset = m->sd->bodyend; + if (getline(m->sd) == 0) + return(OK); + if (m->sd->offset < m->sd->end) |