Message240875
In WinPE environment (at least this is where I found it, but there might be cases where this issue could be spotted in normal Windows), some folders might have some of the FILETIME structures reset (because of RAMDrive?). When the conversion between WIN style (100 * nsecs from 1601/01/01) to UX style (secs from 1970/01/01) is taking place (epoch is being substracted), it could yield invalid filetime values (that will be reported by os.stat).
The attached patch simply goes around this initializing the UX timestamps to 0.
It was found in Python-2.7.3, the patch is for 2.7.8, but I think it can be reproduced with all the newer versions. |
|
Date |
User |
Action |
Args |
2015-04-14 11:56:59 | CristiFati | set | recipients:
+ CristiFati, tim.golden, zach.ware, steve.dower |
2015-04-14 11:56:59 | CristiFati | set | messageid: <1429012619.96.0.846306201826.issue23946@psf.upfronthosting.co.za> |
2015-04-14 11:56:59 | CristiFati | link | issue23946 messages |
2015-04-14 11:56:59 | CristiFati | create | |
|