]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix off-by-one error in processing of #ifdef lines
authorStefan Eßer <se@FreeBSD.org>
Wed, 28 Oct 2020 13:30:24 +0000 (13:30 +0000)
committerStefan Eßer <se@FreeBSD.org>
Wed, 28 Oct 2020 13:30:24 +0000 (13:30 +0000)
commite0e29f9425bd15e70c0abb4a6a41c12c49271d4d
tree708109c67da9a415c31d89ca88a4d0920ed3f842
parent2939897921f2d10b860c766fb60a398844854351
Fix off-by-one error in processing of #ifdef lines

The convention in this program is to parse the line immediately starting
after the token (e.g. #defineA and #ifdefA define respectively look-up "A"),
and this commit restores this behavior instead of skipping an assumed
white-space character following #ifdef.

Reported by: kevans
MFC after: 3 days
usr.bin/calendar/io.c