]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix comment parsing in interp_simple.c
authorbcran <bcran@FreeBSD.org>
Sat, 1 Jun 2019 19:47:15 +0000 (19:47 +0000)
committerbcran <bcran@FreeBSD.org>
Sat, 1 Jun 2019 19:47:15 +0000 (19:47 +0000)
commit56449d89477f6215cfe384e670d43413b97f603e
treec7a8904fe1069d2575e3f92282444d0c42022bdc
parentdd3c331441468ff4c11f98aec3893b1bb67b5faf
Fix comment parsing in interp_simple.c

loader.rc has comment lines without a trailing space, which get
interpreted as commands. Avoid this by only matching against the
backslash character.

Reviewed by: imp, tsoome
Differential Revision: https://reviews.freebsd.org/D20491
stand/common/interp_simple.c