From fe4b07f19475742dd147ff3949bba763e9e59f13 Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 10 Aug 2005 17:14:34 +0000 Subject: Fix time race. --- src/cmd/mk/mk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cmd/mk/mk.c b/src/cmd/mk/mk.c index dbb74992..9f8bbf4e 100644 --- a/src/cmd/mk/mk.c +++ b/src/cmd/mk/mk.c @@ -230,5 +230,5 @@ outofdate(Node *node, Arc *arc, int eval) } else if(strchr(arc->n->name, '(') && arc->n->time == 0) /* missing archive member */ return 1; else - return node->time < arc->n->time; + return node->time <= arc->n->time; } -- cgit v1.2.3