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);