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)
commit371091139abb00e0eb6b17cd19311e2a30fd7470
tree8e7c33e71057657100061ec18eab0701ff891fe2
parent45f0d7bcab72ff6b8375804d3e518f961bd9a96f
Rework message parsing to use getline rather than mmap.

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.
message.c
notmuch-private.h