libpkgconf: argvsplit: handle double backslash case properly (closes #140)

feature/tap-sh
William Pitcock 2017-09-23 00:24:34 -05:00
parent abe0f5c821
commit fae657101c
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ pkgconf_argv_split(const char *src, int *argc, char ***argv)
}
else
{
if (isspace((unsigned int) *src_iter))
if (isspace((unsigned int) *src_iter) || *src_iter == '\\')
*dst_iter++ = '\\';
*dst_iter++ = *src_iter;