summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 35ce95329..8ebcddba2 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -7566,6 +7566,9 @@ def movefile(src, dest, newmtime=None, sstat=None, mysettings=None,
if hardlinked:
newmtime = long(os.stat(dest).st_mtime)
else:
+ # Note: It is not possible to preserve nanosecond precision
+ # (supported in POSIX.1-2008 via utimensat) with the IEEE 754
+ # double precision float which only has a 53 bit significand.
if newmtime is not None:
os.utime(dest, (newmtime, newmtime))
else: