ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant Diagnostics.java
Date Thu, 07 Apr 2005 17:08:24 GMT
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message