=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/engine.c,v retrieving revision 1.41 retrieving revision 1.42 diff -c -r1.41 -r1.42 *** src/usr.bin/make/engine.c 2013/04/23 14:32:53 1.41 --- src/usr.bin/make/engine.c 2013/05/14 18:47:40 1.42 *************** *** 1,4 **** ! /* $OpenBSD: engine.c,v 1.41 2013/04/23 14:32:53 espie Exp $ */ /* * Copyright (c) 2012 Marc Espie. * --- 1,4 ---- ! /* $OpenBSD: engine.c,v 1.42 2013/05/14 18:47:40 espie Exp $ */ /* * Copyright (c) 2012 Marc Espie. * *************** *** 286,293 **** void Make_TimeStamp(GNode *parent, GNode *child) { ! if (is_strictly_before(parent->cmtime, child->mtime)) parent->cmtime = child->mtime; } void --- 286,295 ---- void Make_TimeStamp(GNode *parent, GNode *child) { ! if (is_strictly_before(parent->cmtime, child->mtime)) { parent->cmtime = child->mtime; + parent->youngest = child; + } } void *************** *** 500,506 **** */ if (DEBUG(MAKE)) { if (is_strictly_before(gn->mtime, gn->cmtime)) ! printf("modified before source..."); else if (is_out_of_date(gn->mtime)) printf("non-existent and no sources..."); else --- 502,509 ---- */ if (DEBUG(MAKE)) { if (is_strictly_before(gn->mtime, gn->cmtime)) ! printf("modified before source(%s)...", ! gn->youngest->name); else if (is_out_of_date(gn->mtime)) printf("non-existent and no sources..."); else