aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/compat_strcasestr.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-07 20:30:40 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-07 20:30:40 +0000
commit9d0aa71fc423408e9d933f17f51c1ef0f9ea041b (patch)
tree5d42e94f1ff5dd870f1072c999b67cdeb0345ebb /compat_strcasestr.c
parent587571c6dd712d9ee39e2984b08958c5243eca99 (diff)
downloadmandoc-9d0aa71fc423408e9d933f17f51c1ef0f9ea041b.tar.gz
mandoc-9d0aa71fc423408e9d933f17f51c1ef0f9ea041b.tar.zst
mandoc-9d0aa71fc423408e9d933f17f51c1ef0f9ea041b.zip
Make "new sentence, new line" detection stricter:
Also catch cases where the new sentence starts with a one-letter word and the input line is broken right after that word. Suggested by Thomas Klausner <wiz @ NetBSD>. It's merely a three-bit diff, changing one byte from 0x34 to 0x33, so what can possibly go wrong...
Diffstat (limited to 'compat_strcasestr.c')
0 files changed, 0 insertions, 0 deletions