diff options
author | Ivan Shapovalov <intelfx100@gmail.com> | 2014-11-25 21:58:14 +0300 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-11-27 00:24:53 -0500 |
commit | 0c124f8b2c93d2c7d6eefca3bdc59b28250fc077 (patch) | |
tree | e596a73a7de8823e8b93509a1626c5c3fd2a4673 /src/journal/test-mmap-cache.c | |
parent | 59059b4a0769dd042a92159e7d35d2fea62f795d (diff) |
unit-name: fix escaping logic in unit_name_mangle_with_suffix()
Make screened character set consistent with unit_name_mangle() by splitting off
the escaping loop into a separate function.
Before this fix, unit names such as `foo@bar.target` would get transformed
into `foo\x40bar.target` when unit_name_mangle_with_suffix() is used.
https://bugs.freedesktop.org/show_bug.cgi?id=86711
Diffstat (limited to 'src/journal/test-mmap-cache.c')
0 files changed, 0 insertions, 0 deletions