mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
Revert "parse: escape \ with a \ as well, so that we don't lose the \ when unescaping"
This reverts commit dd9fedb41f
.
This is not the right place to escape the \, we should only escape the spaces to
keep the arguments together that were provided as one group (with quotes on the
shell).
This commit is contained in:
parent
c3bb59de9c
commit
03fae7e32e
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ _gst_parse_escape (const gchar * str)
|
|||
gstr = g_string_sized_new (strlen (str));
|
||||
|
||||
while (*str) {
|
||||
if (*str == ' ' || *str == '\\')
|
||||
if (*str == ' ')
|
||||
g_string_append_c (gstr, '\\');
|
||||
g_string_append_c (gstr, *str);
|
||||
str++;
|
||||
|
|
Loading…
Reference in a new issue