Commit e4f9ead1 authored by Bjorn Munch's avatar Bjorn Munch

Fixed wrong feof check in read_line, see 52019

parent e533c7cc
......@@ -5733,9 +5733,9 @@ int read_line(char *buf, int size)
for (i= 1; i < charlen; i++)
{
c= my_getc(cur_file->file);
if (feof(cur_file->file))
goto found_eof;
c= my_getc(cur_file->file);
*p++ = c;
}
if (! my_ismbchar(charset_info, mb_start, p))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment