David Carter wrote:
On Thu, 9 Oct 2008, Ken Murchison wrote:
How does this look?
That is what I had in mind.
In particular we are no longer running stristr() on a mmap()ed file and
praying we find a '\0' before we run out of file. While we got away with
this because of the following
David Carter wrote:
On Wed, 8 Oct 2008, Ken Murchison wrote:
Changing it to the following fixes it as long as References isn't the
first header field:
if ((refstr = stristr(headers, \r\nreferences:))) {
If we're worried about it being the first header field, there is an
easy test for that.