Ok, I updated SVN again -- pine was still puking on empty lists -- such
as the common "Undisclosed-recipients: ;" -- so I've special cased it
(but it's not a hack, it's just checking for a "(NIL)" result string :-)
I tested on an INBOX with about 20k messages, and pine is happy now.
Aaron
On Tue, 2006-08-29 at 01:21 -0700, Aaron Stone wrote:
> Turns out this is caused by us not at all handling Gmime's
> InternetAddress/InternetAddressList data type correctly -- a pretty bad
> case of following the wrong side of a union.
>
> I've updated dbmail_imap_append_alist_as_plist in dm_imaputil.c to try
> to be more correct. Now in SVN. Please report back if it chokes on any
> messages for anybody.
>
> Aaron
>
> On Mon, 2006-08-28 at 18:34 -0700, Aaron Stone wrote:
> > I get the following results with the code below. Only the first is
> > usable, of course. The latter two are causing Pine to blow chunks. I'm
> > on Gmime 2.2.1 (latest is 2.2.3, however).
> >
> > ((NIL NIL "i_am_not" "broken.org"))
> >
> > (("Break me" NIL NIL
> > "����������������������������������������������������������������"))
> >
> > (("Joe's Friends" NIL "�" NIL))
>
>
> _______________________________________________
> Dbmail-dev mailing list
> [email protected]
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev