Skip to content

Commit

Permalink
tail: improve performance of piped stdin
Browse files Browse the repository at this point in the history
Rewrite handling of stdin when it is piped and read input in chunks.

Fixes #3842
  • Loading branch information
Joining7943 authored and sylvestre committed Sep 9, 2022
1 parent b39f523 commit 2658f8a
Show file tree
Hide file tree
Showing 7 changed files with 1,703 additions and 82 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/uu/tail/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ path = "src/tail.rs"
[dependencies]
clap = { version = "3.2", features = ["wrap_help", "cargo"] }
libc = "0.2.132"
memchr = "2.5.0"
notify = { version = "=5.0.0-pre.16", features=["macos_kqueue"]}
uucore = { version=">=0.0.15", package="uucore", path="../../uucore", features=["ringbuffer", "lines"] }
same-file = "1.0.6"
Expand Down
Loading

0 comments on commit 2658f8a

Please sign in to comment.