09.12.2013 21:10, Peter Hurley ÐÐÑÐÑ:On 12/09/2013 11:26 AM, Stas Sergeev wrote:I mean the case when icanon is enabled _after_ the09.12.2013 18:50, Peter Hurley ÐÐÑÐÑ:if (found && read_buf(ldata, eol) == __DISABLED_CHAR) {Will this work if the last (and only) char written in raw
n--;
eof_push = !n && ldata->read_tail != ldata->line_start;
+ ldata->push = 0;
}
mode appear to be \0 (__DISABLED_CHAR)?
That would have triggered an EOF in older kernels so not a
regression.
\0 was written. In an unpatched kernel it will not result
in an EOL mark, so I don't expect it to trigger EOF.