scribe icon indicating copy to clipboard operation
scribe copied to clipboard

scribe_tail infinite loop

Open verb opened this issue 14 years ago • 0 comments

I tracked down what I think was probably just a typo in scribe_tail's do_tail() that causes it to loop infinitely when the file it's tailing is rotated. The issue is described in the commit message, and it stems from using the stat size from the filename rather than the open file.

scribe_tail is otherwise very useful, thanks for sharing it.

verb avatar Nov 02 '10 21:11 verb