tFix time race. - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit fe4b07f19475742dd147ff3949bba763e9e59f13
parent 3f056d8ef2b5eec8cc0401a0e9420977d5b248ea
Author: rsc 
Date:   Wed, 10 Aug 2005 17:14:34 +0000

Fix time race.

Diffstat:
  M src/cmd/mk/mk.c                     |       2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/cmd/mk/mk.c b/src/cmd/mk/mk.c
t@@ -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;
 }