mirror of
https://github.com/uutils/coreutils
synced 2024-11-16 09:48:03 +00:00
83f96ec29d
Fix a bug where `tail -f` would terminate with an error due to failing to parse a UTF-8 string from a sequence of bytes read from the followed file. This commit replaces the call to `BufRead::read_line()` with a call to `BufRead::read_until()` so that any sequence of bytes regardless of encoding can be read. Fixes #1050. |
||
---|---|---|
.. | ||
macros.rs | ||
mod.rs | ||
util.rs |