]> git.notmuchmail.org Git - notmuch/commitdiff
Rework message parsing to use getline rather than mmap.
authorCarl Worth <cworth@cworth.org>
Mon, 19 Oct 2009 23:38:44 +0000 (16:38 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 19 Oct 2009 23:38:44 +0000 (16:38 -0700)
The line-based parsing can be a bit awkward when wanting to peek
ahead, (say, for folded header values), but it's so convenient
to be able to trust that a string terminator exists on every
line so it cleans up the code considerably.


No differences found