[SIGAR-32] Fix FileTail on Windows

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

View File

@ -1,3 +1,7 @@
2007-01-22 Doug MacEachern <dougm@hyperic.com>
* [SIGAR-32] Fix FileTail on Windows
2007-01-19 Doug MacEachern <dougm@hyperic.com>
* [SIGAR-31] Improve truncation detection in FileTail

View File

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