On Thu, 2003-06-19 at 03:00, Mike Grupenhoff wrote:
Since upgrading to -test11, mail fetched from imap has every line terminated with a nul and a newline ("\0\n"). This also happens with -test12. It seems to happen with both mbox and maildir.
I'm running on NetBSD/sparc (NetBSD-current as of April 1, 1.6Q).
Whops. It was broken with big endian systems. Here's a fix: diff -u -r1.18 message-send.c --- src/lib-mail/message-send.c 4 Jun 2003 15:57:58 -0000 1.18 +++ src/lib-mail/message-send.c 19 Jun 2003 00:44:39 -0000 @@ -16,7 +16,8 @@ uoff_t old_limit, limit; size_t i, size; off_t ret; - int cr_skipped, add; + int cr_skipped; + unsigned char add; if (last_cr != NULL) *last_cr = -1;