aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/mk
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-08-10 17:14:34 +0000
committerrsc <devnull@localhost>2005-08-10 17:14:34 +0000
commitfe4b07f19475742dd147ff3949bba763e9e59f13 (patch)
tree9fb835edac508189dc89997496b45af9b31d378e /src/cmd/mk
parent3f056d8ef2b5eec8cc0401a0e9420977d5b248ea (diff)
downloadplan9port-fe4b07f19475742dd147ff3949bba763e9e59f13.tar.gz
plan9port-fe4b07f19475742dd147ff3949bba763e9e59f13.tar.bz2
plan9port-fe4b07f19475742dd147ff3949bba763e9e59f13.zip
Fix time race.
Diffstat (limited to 'src/cmd/mk')
-rw-r--r--src/cmd/mk/mk.c2
1 files changed, 1 insertions, 1 deletions
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;
}