stevel      2005/04/07 10:08:24

  Modified:    src/main/org/apache/tools/ant Diagnostics.java
  Log:
  ok, sometimes drift is -ve.
  
  Revision  Changes    Path
  1.26      +1 -1      ant/src/main/org/apache/tools/ant/Diagnostics.java
  
  Index: Diagnostics.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Diagnostics.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- Diagnostics.java  7 Apr 2005 17:07:33 -0000       1.25
  +++ Diagnostics.java  7 Apr 2005 17:08:24 -0000       1.26
  @@ -430,7 +430,7 @@
               out.println("Temp dir is writeable");
               long drift=filetime-now;
               out.println("temp dir alignment with system clock is "+drift+" 
ms");
  -            if(drift>10000) {
  +            if(Math.abs(drift)>10000) {
                   out.println("Warning: big clock drift -maybe a network 
filesystem");
               }
           } catch (IOException e) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to