Update pymake to pick up bug 832472.
authorKyle Huey <khuey@kylehuey.com>
Fri, 18 Jan 2013 13:57:37 -0800
changeset 119305 9026afc4dc208f620fc87feb82bf6e3f3ef3edfc
parent 119304 91e1a316713c9bfbc749b6dae75ebc7305fb821d
child 119306 a934be5e446ae26985c1270b8525aae02444ec8a
push id24195
push userMs2ger@gmail.com
push dateSat, 19 Jan 2013 16:10:11 +0000
treeherdermozilla-central@02e12a80aef9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs832472
milestone21.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Update pymake to pick up bug 832472.
build/pymake/pymake/data.py
--- a/build/pymake/pymake/data.py
+++ b/build/pymake/pymake/data.py
@@ -35,17 +35,18 @@ def mtimeislater(deptime, targettime):
     """
     Is the mtime of the dependency later than the target?
     """
 
     if deptime is None:
         return True
     if targettime is None:
         return False
-    return deptime > targettime
+    # int(1000*x) because of http://bugs.python.org/issue10148
+    return int(1000 * deptime) > int(1000 * targettime)
 
 def getmtime(path):
     try:
         s = os.stat(path)
         return s.st_mtime
     except OSError:
         return None