libpkgconf: fileio: pkgconf_fgetline(): handle quoted=true when a comment introduction is encountered

Fixes #215.
master
Ariadne Conill 2021-03-18 05:44:45 -06:00
parent 347281ebfe
commit 52d19e1b9e
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ pkgconf_fgetline(char *line, size_t size, FILE *stream)
*s++ = c;
break;
}
else
*s++ = c;
quoted = false;
continue;
}