tmpfiles: Allow C escapes

Fixes #26955
This commit is contained in:
Will Fancher
2023-05-26 00:45:54 -04:00
parent 5f0ee1b635
commit 4b6621fef3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3358,7 +3358,7 @@ static int parse_line(
r = extract_many_words(
&buffer,
NULL,
EXTRACT_UNQUOTE,
EXTRACT_UNQUOTE | EXTRACT_CUNESCAPE,
&action,
&path,
&mode,
+1 -1
View File
@@ -12,4 +12,4 @@ systemd-tmpfiles --create - <<EOF
f "$dst" 0644 0 0 - $data
EOF
diff /tmp/x/x20anb <(printf "\x20foo\nbar")
diff "$(printf "/tmp/x/\x20a\nb")" <(printf "\x20foo\nbar")