[SIGAR-32] Fix FileTail on Windows

This commit is contained in:
Doug MacEachern committed 2007-01-22 23:58:23 +00:00
1 parent 7ab5c14d77
commit 2dcff7e5c9
2 files changed
+7 -1

No files matched your search

@@ -95,7 +95,9 @@ public abstract class FileTail extends FileWatcher {
throws SigarException,
SigarFileNotFoundException {
return info.modified();
return
info.modified() ||
(info.getPreviousInfo().size != info.size);
}
private long getOffset(FileInfo current) {