diff options
Diffstat (limited to 'libpkgconf/argvsplit.c')
-rw-r--r-- | libpkgconf/argvsplit.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libpkgconf/argvsplit.c b/libpkgconf/argvsplit.c index fdc4dc9..4e40327 100644 --- a/libpkgconf/argvsplit.c +++ b/libpkgconf/argvsplit.c @@ -93,11 +93,14 @@ pkgconf_argv_split(const char *src, int *argc, char ***argv) * 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)) + if (isspace((unsigned int) *src_iter) || *src_iter == '\\') *dst_iter++ = '\\'; - */ + */ *dst_iter++ = *src_iter; } |