summaryrefslogtreecommitdiffstats
path: root/regress/char/space/multiple.out_ascii
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-01-25 22:59:22 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-01-25 22:59:22 +0000
commit9a0648ee1954e83311194a35ce390db361aeac67 (patch)
treecaa1728eed961eef1285307b8908857673c759a7 /regress/char/space/multiple.out_ascii
parentbd6f66569773d0cec18ee728ff380ff738d81246 (diff)
downloadmandoc-9a0648ee1954e83311194a35ce390db361aeac67.tar.gz
Minor cleanup, no functional change:
Do not abuse strstr(3) to check whether one long string starts with another long string. Instead, use strncmp(3) with the proper length. In set_basedir(), also reset *basedir in the error brances for extra safety. While here, invert some more Yoda conditions in the neighbourhood.
Diffstat (limited to 'regress/char/space/multiple.out_ascii')
0 files changed, 0 insertions, 0 deletions