From 598b0256a354cb2e65ea240e50662d4378f5462c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 14 Oct 2017 00:05:03 +0300 Subject: Merge with latest original package version (master branch) --- libpkgconf/fileio.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libpkgconf/fileio.c') diff --git a/libpkgconf/fileio.c b/libpkgconf/fileio.c index 7411dc3..b64205d 100644 --- a/libpkgconf/fileio.c +++ b/libpkgconf/fileio.c @@ -29,16 +29,12 @@ pkgconf_fgetline(char *line, size_t size, FILE *stream) while (s < end && (c = getc(stream)) != EOF) { - /* - * Fix double-backslash swallowing (issue #140 is reported). - */ if (c == '\\' && !quoted) { quoted = true; continue; } - - if (c == '#') + else if (c == '#') { if (!quoted) { /* Skip the rest of the line */ -- cgit v1.1