projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3bb59d
)
Revert "parse: escape \ with a \ as well, so that we don't lose the \ when unescaping"
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 17 Jul 2012 07:44:10 +0000
(09:44 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 17 Jul 2012 08:04:25 +0000
(10:04 +0200)
This reverts commit
dd9fedb41f1ada8e1f8bd5346fccd3d068d543cb
.
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).
gst/gstparse.c
patch
|
blob
|
history
diff --git
a/gst/gstparse.c
b/gst/gstparse.c
index
5256609
..
1077cd8
100644
(file)
--- a/
gst/gstparse.c
+++ b/
gst/gstparse.c
@@
-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++;