From: Thorsten O. <ad...@th...> - 2017-11-10 03:58:10
|
On Donnerstag, 9. November 2017 22:57:41 CET Helmut Karlowski via Freemint- discuss wrote: > That is the same symptom that can be observed when accessing files on > host-fs. Not really. The image is a tos filesystem, so the hostfs is not involved at all. You will see that from the flags, FS_EXT_3 is not set there (unfortunately the xfs name is not easily accessible there). >Shall the file-time be stored in utc or local time on disk? Since it is a plain tos/msdos filesystem (no vfat), it can only be stored in local time. I think the only possible solution is to add some flag to Dopendir, to tell Dxreaddir that it should return the timestamps as UTC so the application can do the calculation. Of course, that would also require changes to the applications using it directly (like teradesk), and mintlib for all others. For other cases, like stat() and Fdatime(), there are already alternatives that should work, like Fstat64() and fcntl(FUTIME_UTC). |