From cbfc4ec358ada029dd8dc7d633e5bdf839e0d568 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Sun, 17 May 2015 16:42:43 +1000 Subject: [PATCH] MDEV-4447 \r as EOL in extra/comp_err --- extra/comp_err.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/comp_err.c b/extra/comp_err.c index f0396bc5878d2..25fc65279d530 100644 --- a/extra/comp_err.c +++ b/extra/comp_err.c @@ -551,7 +551,7 @@ static int parse_input_file(const char *file_name, struct errors **top_error, tail_error= ¤t_error->next_error; continue; } - if (*str == '#' || *str == '\n') + if (*str == '#' || *str == '\n' || *str == '\r') continue; /* skip comment or empty lines */ fprintf(stderr, "Wrong input file format. Stop!\nLine: %s\n", str);