tail(1): write partial last line also with -f
This commit is contained in:
parent
28f2a169da
commit
8a925dcf90
1 changed files with 2 additions and 0 deletions
|
@ -326,6 +326,8 @@ int keep_reading()
|
|||
off_t pos;
|
||||
struct stat st;
|
||||
|
||||
fflush(stdout);
|
||||
|
||||
pos = lseek(0, (off_t) 0, SEEK_CUR);
|
||||
for (;;) {
|
||||
for (i = 0; i < 60; i++) {
|
||||
|
|
Loading…
Reference in a new issue