Quoting Jakob Hirsch:
>> I think this patch should fix it.
>> + (void)fclose(mbox_file);
> Sure, but then you should remove the "if... fclose(mbox_file)" in line 159.
uh, no, forget this, mbox_file would not be closed then. You could add
mbox_file = NULL after the fclose in your patch. Or something else, I
think you'll figure it out yourself. :)