Return to forward.c CVS log | Up to [local] / src / usr.bin / tail |
version 1.10, 2000/10/12 10:18:38 | version 1.11, 2000/11/21 22:01:47 | ||
---|---|---|---|
|
|
||
sleep(1); | sleep(1); | ||
clearerr(fp); | clearerr(fp); | ||
if (stat(fname, &nsb) != 0) | if (is_stdin || stat(fname, &nsb) != 0) | ||
continue; | continue; | ||
/* Reopen file if the inode changes or file was truncated */ | /* Reopen file if the inode changes or file was truncated */ | ||
if (nsb.st_ino != sbp->st_ino) { | if (nsb.st_ino != sbp->st_ino) { |