Change log-tailer to properly track multi-byte characters.
When end-of-line is represented within a file as "\r\n",
it is represented in memory as a single "\n". This patch eliminates
the discrepancy between size on disk and size in memory.
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
Showing
想要评论请 注册 或 登录