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

Diff for /src/usr.bin/make/dir.c between version 1.62 and 1.63

version 1.62, 2013/04/23 14:32:53 version 1.63, 2013/05/22 12:14:08
Line 570 
Line 570 
                                 * needed, we don't have to fetch it again.  */                                  * needed, we don't have to fetch it again.  */
                                 if (DEBUG(DIR))                                  if (DEBUG(DIR))
                                         printf("Caching %s for %s\n",                                          printf("Caching %s for %s\n",
                                             time_to_string(mtime), file);                                              time_to_string(&mtime), file);
                                 record_stamp(file, mtime);                                  record_stamp(file, mtime);
                                 return file;                                  return file;
                         } else                          } else
Line 614 
Line 614 
   
                 ts_set_from_stat(stb, mtime);                  ts_set_from_stat(stb, mtime);
                 if (DEBUG(DIR))                  if (DEBUG(DIR))
                         printf("Caching %s for %s\n", time_to_string(mtime), q);                          printf("Caching %s for %s\n", time_to_string(&mtime),
                               q);
                 record_stamp(q, mtime);                  record_stamp(q, mtime);
                 return q;                  return q;
         } else {          } else {
Line 724 
Line 725 
                  * actually go to the file system.      */                   * actually go to the file system.      */
                 if (DEBUG(DIR))                  if (DEBUG(DIR))
                         printf("Using cached time %s for %s\n",                          printf("Using cached time %s for %s\n",
                             time_to_string(entry->mtime), fullName);                              time_to_string(&entry->mtime), fullName);
                 mtime = entry->mtime;                  mtime = entry->mtime;
                 free(entry);                  free(entry);
                 ohash_remove(&mtimes, slot);                  ohash_remove(&mtimes, slot);

Legend:
Removed from v.1.62  
changed lines
  Added in v.1.63