tail(1): write partial last line also with -f

This commit is contained in:
David van Moolenbroek 2011-03-25 10:59:48 +00:00
parent 28f2a169da
commit 8a925dcf90

View file

@ -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++) {