[SIGAR-32] Fix FileTail on Windows
This commit is contained in:
		
							parent
							
								
									7ab5c14d77
								
							
						
					
					
						commit
						2dcff7e5c9
					
				@ -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
 | 
			
		||||
 | 
			
		||||
@ -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) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user