From: Helmut K. <hel...@is...> - 2017-11-08 23:13:51
|
Am 08.11.2017, 04:19 Uhr, schrieb Thorsten Otto: > - If you think thats a bug in Teradesk, or Aranym: thats not quite true > either. That inconsistency will also occur when using only ext2fs > filesystems. On an ext2-fs inside MiNT (no host-fs, only ext2) the times of files created in summertime are correct. At least if the program is using mintlib (TZ=Europe/Berlin). I only observe discrepancies between host-fs-file-time and MiNT-file-time - for example st_mtime differs, using the ancient version of mintlib I use with pure-c. I once tried to fix it in hostfs.cpp in my private aranym-version (something with tm_gmtoff) but that is still not 100% it seems. > The problem here is that functions like Fstat64() report UTC timestamps > (if > the filesystem supports it, but most do, except tosfs), while eg. > Dxreaddir() > returns the extended information in the old xattr structure, where the > timestamps are converted to local time, using the global timezone > variable. Do you have a testcase that demonstrates the problem without any aranym-interaction? |