[BACK]Return to timestamp.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/timestamp.c between version 1.6 and 1.7

version 1.6, 2010/07/19 19:46:44 version 1.7, 2011/12/10 04:12:36
Line 39 
Line 39 
 set_times(const char *f)  set_times(const char *f)
 {  {
 #ifdef USE_TIMESPEC  #ifdef USE_TIMESPEC
     struct timeval tv[2];      return utimes(f, NULL);
   
     gettimeofday(&tv[0], NULL);  
     tv[1] = tv[0];  
     return utimes(f, tv);  
 #else  #else
     struct utimbuf times;      struct utimbuf times;
   

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7