]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libdtrace: Stop relying on lex compatibility
authorMark Johnston <markj@FreeBSD.org>
Wed, 17 Feb 2021 15:49:38 +0000 (10:49 -0500)
committerMark Johnston <markj@FreeBSD.org>
Mon, 22 Feb 2021 21:59:36 +0000 (16:59 -0500)
commitae093a0614f30d4cdffb853e4eba93322e8ed8f4
tree71ab7266786e300ce3bb1315b4e8e164b85d3093
parent4e3fa977a14f7c69a39aacd8788a437527767dac
libdtrace: Stop relying on lex compatibility

It does not appear to be required, and as of commit 6b7e592c215f
("lex: Do not let input() return 0 when end-of-file is reached") it
causes input to return 0 instead of EOF when end-of-input is reached.

Approved by: re (gjb)
PR: 253440
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 8ba333e02eaa59337a4e1d5534d4e894344c8226)
(cherry picked from commit af80731179386cf019463e392370b6478a714aea)
cddl/contrib/opensolaris/lib/libdtrace/common/dt_impl.h
cddl/lib/libdtrace/Makefile