• Jonathan Kamens's avatar
    Fix faultly mbox message separators · 7cdd0712
    Jonathan Kamens authored
    Jonathan writes:
    I noticed an issue with mairix today when doing a search with output into an
    mbox file.
    
    Technically, the message separator for mbox files is “\n\nFrom “, i.e., there’s
    always supposed to be a blank line before the “From “ line, but the mbox being
    generated by mairix search is missing the blank line at the end of some
    messages, with the result that some programs that parse mbox files were missing
    some message breaks and glomming messages together.
    
    The attached patch fixes this by ensuring that there’s a blank line at the end
    of every message in the mbox.
    7cdd0712
Name
Last commit
Last update
dfasyn Loading commit data...
old_docs Loading commit data...
.gitignore Loading commit data...
ACKNOWLEDGEMENTS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.in Loading commit data...
NEWS Loading commit data...
README Loading commit data...
configure Loading commit data...
dates.c Loading commit data...
dates.h Loading commit data...
datescan.nfa Loading commit data...
db.c Loading commit data...
dirscan.c Loading commit data...
dotlock.c Loading commit data...
dotmairixrc.eg Loading commit data...
dumper.c Loading commit data...
expandstr.c Loading commit data...
from.h Loading commit data...
fromcheck.nfa Loading commit data...
glob.c Loading commit data...
hash.c Loading commit data...
mairix.1 Loading commit data...
mairix.c Loading commit data...
mairix.h Loading commit data...
mairix.spec.sample Loading commit data...
mairixrc.5 Loading commit data...
make_release Loading commit data...
mbox.c Loading commit data...
md5.c Loading commit data...
md5.h Loading commit data...
memmac.h Loading commit data...
mkversion Loading commit data...
nvp.c Loading commit data...
nvp.h Loading commit data...
nvp.nfa Loading commit data...
nvptypes.h Loading commit data...
reader.c Loading commit data...
reader.h Loading commit data...
rfc822.c Loading commit data...
search.c Loading commit data...
stats.c Loading commit data...
tok.c Loading commit data...
writer.c Loading commit data...