libpkgconf: fileio: fix quoting logic for double backslash case (ref #140)

pull/144/head
William Pitcock 2017-09-23 00:19:16 -05:00
parent db56c80d92
commit abe0f5c821
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ pkgconf_fgetline(char *line, size_t size, FILE *stream)
while (s < end && (c = getc(stream)) != EOF) while (s < end && (c = getc(stream)) != EOF)
{ {
if (c == '\\') if (c == '\\' && !quoted)
{ {
quoted = true; quoted = true;
continue; continue;