Rev 3511: Update the comment in http://bzr.arbash-meinel.com/branches/bzr/1.6-dev/win32_find_files

John Arbash Meinel john at arbash-meinel.com
Thu Jul 17 03:43:12 BST 2008


At http://bzr.arbash-meinel.com/branches/bzr/1.6-dev/win32_find_files

------------------------------------------------------------
revno: 3511
revision-id: john at arbash-meinel.com-20080717024305-1odvs9kc7vqd3dum
parent: john at arbash-meinel.com-20080717023713-832g08rsq7emxh8f
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: win32_find_files
timestamp: Wed 2008-07-16 21:43:05 -0500
message:
  Update the comment
-------------- next part --------------
=== modified file 'bzrlib/_walkdirs_win32.pyx'
--- a/bzrlib/_walkdirs_win32.pyx	2008-07-17 02:37:13 +0000
+++ b/bzrlib/_walkdirs_win32.pyx	2008-07-17 02:43:05 +0000
@@ -179,7 +179,10 @@
         It also uses the epoch 1601-01-01 rather than 1970-01-01
         (taken from posixmodule.c)
         """
-        # cdef double secs_between_epochs = 11644473600
+        # NB: This gives slightly different results versus casting to a 64-bit
+        #     integer and doing integer math before casting into a floating
+        #     point number. But the difference is in the sub millisecond range,
+        #     which doesn't seem critical here.
         return ((ft.dwHighDateTime * 429.4967296 + ft.dwLowDateTime * 1e-7)
                 - 11644473600.0)
 



More information about the bazaar-commits mailing list