=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/dir.c,v retrieving revision 1.48 retrieving revision 1.49 diff -c -r1.48 -r1.49 *** src/usr.bin/make/dir.c 2007/09/16 10:43:53 1.48 --- src/usr.bin/make/dir.c 2007/09/16 12:09:36 1.49 *************** *** 1,5 **** /* $OpenPackages$ */ ! /* $OpenBSD: dir.c,v 1.48 2007/09/16 10:43:53 espie Exp $ */ /* $NetBSD: dir.c,v 1.14 1997/03/29 16:51:26 christos Exp $ */ /* --- 1,5 ---- /* $OpenPackages$ */ ! /* $OpenBSD: dir.c,v 1.49 2007/09/16 12:09:36 espie Exp $ */ /* $NetBSD: dir.c,v 1.14 1997/03/29 16:51:26 christos Exp $ */ /* *************** *** 80,86 **** #include "buf.h" #include "gnode.h" #include "arch.h" - #include "targ.h" #include "error.h" #include "str.h" #include "timestamp.h" --- 80,85 ---- *************** *** 527,533 **** * needed, we don't have to fetch it again. */ if (DEBUG(DIR)) printf("Caching %s for %s\n", ! Targ_FmtTime(mtime), file); record_stamp(file, mtime); #ifdef DEBUG_DIRECTORY_CACHE nearmisses++; --- 526,532 ---- * needed, we don't have to fetch it again. */ if (DEBUG(DIR)) printf("Caching %s for %s\n", ! time_to_string(mtime), file); record_stamp(file, mtime); #ifdef DEBUG_DIRECTORY_CACHE nearmisses++; *************** *** 577,583 **** ts_set_from_stat(stb, mtime); if (DEBUG(DIR)) ! printf("Caching %s for %s\n", Targ_FmtTime(mtime), q); record_stamp(q, mtime); return q; } else { --- 576,582 ---- ts_set_from_stat(stb, mtime); if (DEBUG(DIR)) ! printf("Caching %s for %s\n", time_to_string(mtime), q); record_stamp(q, mtime); return q; } else { *************** *** 817,823 **** * actually go to the file system. */ if (DEBUG(DIR)) printf("Using cached time %s for %s\n", ! Targ_FmtTime(entry->mtime), fullName); mtime = entry->mtime; free(entry); ohash_remove(&mtimes, slot); --- 816,822 ---- * actually go to the file system. */ if (DEBUG(DIR)) printf("Using cached time %s for %s\n", ! time_to_string(entry->mtime), fullName); mtime = entry->mtime; free(entry); ohash_remove(&mtimes, slot);