]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev_rules_parse_file: issue diagnostics about line continuation at EOF 26698/head
authorDmitry V. Levin <ldv@strace.io>
Wed, 8 Mar 2023 08:00:00 +0000 (08:00 +0000)
committerDmitry V. Levin <ldv@strace.io>
Wed, 8 Mar 2023 18:55:40 +0000 (18:55 +0000)
commitb27e5e2aca6dcc97826399993fc5423d84585283
tree33b6f3a7939d00b1f140991c24e7d537a2a08b05
parent5040401b43b7a3fe3dd372410ae4e3966ddb5d29
udev_rules_parse_file: issue diagnostics about line continuation at EOF

When udev rules file ends with a line continuation, the parser
used to silently ignore the line without any diagnostics at all.
It's time to break the vow of silence and let the parser issue some
error diagnostics.
src/udev/udev-rules.c
test/units/testsuite-17.11.sh