=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/compat.c,v retrieving revision 1.81 retrieving revision 1.82 diff -c -r1.81 -r1.82 *** src/usr.bin/make/compat.c 2013/05/25 11:54:14 1.81 --- src/usr.bin/make/compat.c 2013/05/30 08:58:38 1.82 *************** *** 1,4 **** ! /* $OpenBSD: compat.c,v 1.81 2013/05/25 11:54:14 espie Exp $ */ /* $NetBSD: compat.c,v 1.14 1996/11/06 17:59:01 christos Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: compat.c,v 1.82 2013/05/30 08:58:38 espie Exp $ */ /* $NetBSD: compat.c,v 1.14 1996/11/06 17:59:01 christos Exp $ */ /* *************** *** 217,231 **** */ if (noExecute || is_out_of_date(Dir_MTime(gn))) clock_gettime(CLOCK_REALTIME, &gn->mtime); ! if (is_strictly_before(gn->mtime, gn->cmtime)) ! gn->mtime = gn->cmtime; if (sib != gn) { if (noExecute || is_out_of_date(Dir_MTime(sib))) clock_gettime(CLOCK_REALTIME, &sib->mtime); if (is_strictly_before(sib->mtime, ! sib->cmtime)) ! sib->mtime = sib->cmtime; } if (DEBUG(MAKE)) printf("update time: %s\n", --- 217,231 ---- */ if (noExecute || is_out_of_date(Dir_MTime(gn))) clock_gettime(CLOCK_REALTIME, &gn->mtime); ! if (is_strictly_before(gn->mtime, gn->youngest->mtime)) ! gn->mtime = gn->youngest->mtime; if (sib != gn) { if (noExecute || is_out_of_date(Dir_MTime(sib))) clock_gettime(CLOCK_REALTIME, &sib->mtime); if (is_strictly_before(sib->mtime, ! sib->youngest->mtime)) ! sib->mtime = sib->youngest->mtime; } if (DEBUG(MAKE)) printf("update time: %s\n",