Re: seconds bug in dir()
- Posted by DerekParnell (admin) Apr 09, 2010
- 1226 views
petelomax said...
Can anyone confirm there is still a bug in dir() (r3132), which has been present since at least 2.4 and probably before that, whereby it randomly adds 1 or 2 seconds to the file times?
I haven't looked into this however there is a known issue when using the FAT filesystem. The problem there is that the space used to store the date-time for a file only allows room for a 2-second resolution. That means that the recorded time for a file can be incorrect by up to two seconds.
On Windows, Euphoria uses the Watcom library for this functionality but we could recoded that to explicitly use the Windows API, however even then the problem will still exist for FAT filesystems.