aboutsummaryrefslogtreecommitdiff
path: root/libpkgconf/argvsplit.c
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-12-12 16:04:02 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-12-12 16:04:02 +0300
commit429162ba11e58758e5e4ac4f03239891fc3e189c (patch)
treea530c0621a5cb3fe18c8d85392658458d02d6ea1 /libpkgconf/argvsplit.c
parenta18413342bc088e10a56ff70dca8f3007a83085d (diff)
Merge with latest upstream package version (master branch)
Diffstat (limited to 'libpkgconf/argvsplit.c')
-rw-r--r--libpkgconf/argvsplit.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/libpkgconf/argvsplit.c b/libpkgconf/argvsplit.c
index 4e40327..4553154 100644
--- a/libpkgconf/argvsplit.c
+++ b/libpkgconf/argvsplit.c
@@ -89,18 +89,8 @@ 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).
- *
- * Update: as a part of the issue #140 fix the backslash is now
- * escaped as well.
- */
- /*
- if (isspace((unsigned int) *src_iter) || *src_iter == '\\')
+ if (*src_iter == '\\')
*dst_iter++ = '\\';
- */
*dst_iter++ = *src_iter;
}