summaryrefslogtreecommitdiffstats
path: root/test-strlcpy.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2010-06-30 04:05:02 +0000
committerIngo Schwarze <schwarze@openbsd.org>2010-06-30 04:05:02 +0000
commit25b3bcbde4cab98bd4a3175d20053187201d2dce (patch)
tree87ee4f656dcc58da214d2b0190916785fae6b479 /test-strlcpy.c
parent72452c8d8f8859768d309309a7ebca1cb366e063 (diff)
downloadmandoc-25b3bcbde4cab98bd4a3175d20053187201d2dce.tar.gz
Closing of full blocks (Bd Bf Bk Bl It Fo Nd Rs Sh Ss) may never be
delayed: It must either succeed right away or fail outright. As noticed by Kristaps, neglecting to fail properly when required could make invalid input screw up the syntax tree and ultimately trigger assertions in other, unrelated parts of the program. This fix tested by and OK by kristaps@. While here, comment the rather tricky function rew_dohalt(). This function will probably need more tweaks later on.
Diffstat (limited to 'test-strlcpy.c')
0 files changed, 0 insertions, 0 deletions