diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-08-31 20:28:09 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-09-09 13:49:29 -0400 |
commit | a6fde35332f5e7f78bff437d7b7bfded83debbaa (patch) | |
tree | a2433a8fbd4168a9bef60979da6c19a77f0459b4 /src/shared/strv.h | |
parent | a012ab5293a28af93454b3105ca85ca148b1c11f (diff) |
systemd-run: properly escape arguments
Spaces, quotes, and such, were not properly escaped. We should
write them like we read them.
https://bugs.freedesktop.org/show_bug.cgi?id=67971
Diffstat (limited to 'src/shared/strv.h')
-rw-r--r-- | src/shared/strv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/strv.h b/src/shared/strv.h index 4ade827a42..4e80ea6d89 100644 --- a/src/shared/strv.h +++ b/src/shared/strv.h @@ -68,6 +68,7 @@ char **strv_split_quoted(const char *s); char **strv_split_newlines(const char *s); char *strv_join(char **l, const char *separator); +char *strv_join_quoted(char **l); char **strv_parse_nulstr(const char *s, size_t l); char **strv_split_nulstr(const char *s); |