]> git.ipfire.org Git - thirdparty/systemd.git/commit
Spot inconsistent quoting (just one single quote) (#4732)
authorTobias Stoeckmann <stoeckmann@users.noreply.github.com>
Thu, 1 Dec 2016 23:46:36 +0000 (00:46 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 1 Dec 2016 23:46:36 +0000 (18:46 -0500)
commitcd05bb8bafa808f0a40feaaa0e8cc564c0f203a7
tree952854e97d7a5b86bb566a2684b5f0efe3ccf7ee
parent7e3f4e7f3d7e28c4063dc1e6d2e4502ca952b72b
Spot inconsistent quoting (just one single quote) (#4732)

It is possible to specify only one quote in udev rules, which is not
detected as an invalid quoting (" instead of "" for empty string).

Technically this doesn't lead to a bug, because the string ends in two
terminating nul characters at this position, but a user should still be
reminded that his configuration is invalid.
src/libudev/libudev.c
src/udev/udev-rules.c