From d3b6d0c21ea5a0d15ec6dbd8b8d179138b7463bc Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sat, 13 Apr 2013 20:22:53 -0400 Subject: fileio: in envfiles, do not skip lines following empty lines https://bugs.freedesktop.org/show_bug.cgi?id=63477 --- src/binfmt/binfmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/binfmt') diff --git a/src/binfmt/binfmt.c b/src/binfmt/binfmt.c index 9ca1e604c4..5a42b3dbef 100644 --- a/src/binfmt/binfmt.c +++ b/src/binfmt/binfmt.c @@ -110,7 +110,7 @@ static int apply_file(const char *path, bool ignore_enoent) { p = strstrip(l); if (!*p) continue; - if (strchr(COMMENTS, *p)) + if (strchr(COMMENTS "\n", *p)) continue; k = apply_rule(p); -- cgit v1.2.3-54-g00ecf