]> diplodocus.org Git - nmh/commit
Cleaned up FLDPLUS handling in m_getfld(). As part of this,
authorDavid Levine <levinedl@acm.org>
Sat, 12 Jan 2013 16:58:31 +0000 (10:58 -0600)
committerDavid Levine <levinedl@acm.org>
Sat, 12 Jan 2013 16:58:31 +0000 (10:58 -0600)
commitc9c9deafa215eed533076335d3c1b960352b1431
treea1e867e10b98e9fb325152bf5bb7d381a94329f4
parent52a3727a8e26bc651f3330cb80f11ba627cfaac7
Cleaned up FLDPLUS handling in m_getfld().  As part of this,
removed the backing up of the read pointer in the "something
went wrong" portion of the FLD handling.  It had been moved
back two positions.  The first is no longer necessary
because a Getc() was replace by a Peek(), and the second
caused the extra blank line noted in the old comments.
Updated the expected output in test/bad-input/test-header to
correspond.
sbr/m_getfld.c
test/bad-input/test-header