[Bug 16969] utime/stat not accurate enough (truncation to integer occurring?)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jan 19 11:19:40 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=16969


Dan Kegel <dank at kegel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dank at kegel.com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Dan Kegel <dank at kegel.com>  2009-01-19 11:19:40 ---
That's a limitation of ext3.  ext4 will have microsecond timestamps.

The program

import os
t1 = 1159195039.25
os.utime("foo.dat", (t1, t1))
print os.stat("foo.dat").st_mtime
print t1

prints out two different values even in linux's python because of this.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list