Repository navigation
Commit 87392e7
tail: follow new data from character devices
Poll character devices alongside native file watches so tail -f and -F
continue reading after EOF. Keep owned device readers nonblocking, bound
each read batch, and preserve inherited stdin flags.
Watch device parents on native backends, reopen replacements by device
and inode, and cover terminal input, aliases, replacement, and shutdown.
Signed-off-by: rleungx <rleungx@gmail.com>1 parent 85dd1ff commit 87392e7
7 files changed
Lines changed: 925 additions & 82 deletions
File tree
- src/uu/tail
- src
- follow
- tests/by-util
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments