aboutsummaryrefslogtreecommitdiff
path: root/libpkgconf/argvsplit.c
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-09-19 17:21:01 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-09-19 17:22:11 +0300
commitdf3f033ad8586bb28503d204eac4e02990f64a44 (patch)
tree46edf90619a86d16cfaeaf12408e7fe486349e75 /libpkgconf/argvsplit.c
parent2ac205d1d0aaff43513471b0e185b8a9a2487d9a (diff)
Fix some escaping related issues
Diffstat (limited to 'libpkgconf/argvsplit.c')
-rw-r--r--libpkgconf/argvsplit.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libpkgconf/argvsplit.c b/libpkgconf/argvsplit.c
index 85f7f57..cb5844a 100644
--- a/libpkgconf/argvsplit.c
+++ b/libpkgconf/argvsplit.c
@@ -88,8 +88,15 @@ pkgconf_argv_split(const char *src, int *argc, char ***argv)
}
else
{
+ /*
+ * There is no reason to keep space character escaped in fragment
+ * objects, especially given that other characters are unescaped (issue
+ * #139 is reported).
+ */
+ /*
if (isspace((unsigned int) *src_iter))
*dst_iter++ = '\\';
+ */
*dst_iter++ = *src_iter;
}