coreutils/tests/common
Jeffrey Finkelstein 83f96ec29d tail: don't error when following non-UTF-8 data
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.
2022-01-24 21:32:52 -05:00
..
macros.rs pwd: Properly resolve logical working directory (#2604) 2021-08-28 22:31:20 +02:00
mod.rs tests: move macros into separate module 2016-05-22 15:10:06 -04:00
util.rs tail: don't error when following non-UTF-8 data 2022-01-24 21:32:52 -05:00