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

Diff for /src/usr.bin/make/engine.c between version 1.73 and 1.74

version 1.73, 2023/09/04 11:35:11 version 1.74, 2024/04/09 15:08:21
Line 262 
Line 262 
         } else {          } else {
                 const char *file = gn->path != NULL ? gn->path : gn->name;                  const char *file = gn->path != NULL ? gn->path : gn->name;
   
                 if (set_times(file) == -1){                  if (utimes(file, NULL) == -1){
                         if (rewrite_time(file) == -1) {                          if (rewrite_time(file) == -1) {
                                 (void)fprintf(stderr,                                  (void)fprintf(stderr,
                                     "*** couldn't touch %s: %s", file,                                      "*** couldn't touch %s: %s", file,

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.74