]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev-rules: perform whitespace replacement for symlink subst values 4837/head
authorDan Streetman <ddstreet@ieee.org>
Tue, 3 Jan 2017 19:39:50 +0000 (14:39 -0500)
committerDan Streetman <ddstreet@ieee.org>
Tue, 3 Jan 2017 22:24:52 +0000 (17:24 -0500)
commit0a10235ed4538a80f5fc7dbbf79e3a1c178f5179
treeef8361a9cf6b50b59ffbfa474eef4390964e43ae
parente20a917105b9c41e7e552ca5f11f9077897db505
udev-rules: perform whitespace replacement for symlink subst values

If the string_escape option is either unset or 'replace' (i.e. if it is
not 'none'), then enable whitespace replacement in SYMLINK variable
substitution values, as added in the last patch.

This will keep any whitespace that is directly contained in a SYMLINK
value, but will replace any whitespace that is added to the SYMLINK
value as a result of variable substitution (except $result/%c).

This fixes bug 4833.
src/udev/udev-rules.c