>>>> "Jan" == Jan Vroonhof
<vroonhof(a)math.ethz.ch> writes:
Jan> Unfortunately I cannot remember the origional
Jan> discussion. However reading between the lines it seems that
There wasn't really one. I was agonizing, Craig was helping me out
with results from the FAT/mingw32 world, and the rest of the group was
kindly ignoring us :-)
Jan> when going over the DST changeover barrier the Apparent UTC
Jan> time of a FAT file changes. And thus XEmacs view of the
Jan> times becomes confused.
When you change over the DST boundary, MS Explorer will interpret
FILETIME differently, irregardless of when the file was modified.
That's the best they can do for FAT, which is too dumb to live, and
plain wrong for NTFS. In order to stay ``compatible´´ with FAT
FILETIME, which is not in UTC, they also interpret NTFS FILETIME
wrong. Quite an elegant cover-up approach, eh?
Jan> (Question: Do other windows programs use a differnt API that
Jan> doesn't go through UTC, and thus do not notice it?)
Don't know.
Under Windows NT/NTFS:
If you create a file at 22:00 in summer (with DST on), MS explorer in
winter will show: The file was created at 21:00. It's easy to
understand: If it would have been winter in summer too, then the time
would have been 21:00 at 22:00 DST.
Jan> If it is indeed the case that
Jan> 1. It can be done sanely for sane file systems (i.e. NTFS)
Jan> 2. Doing it this way goes wrong for FAT only when going over DST
Jan> barrier.
Jan> 3. Microsoft Exporer gets it "wrong" too.
Jan> then my vote would be to not do any file system type checks
Jan> (can you do those over the network?). Just direct any
Yes, I can GetVolumeInformation for both DOS paths, and UNC path due
to a good hint from Fabrice POPINEAU <Fabrice.Popineau(a)supelec.fr>.
I found NTFS, CDFS, Samba, FAT on computers in our network.
I think it would be a win for XEmacs NT to be the only program there
to interpret NTFS FILETIME correctly, and warn about FAT partitions
(once per partition) that these have local times stored (at time of
creation) and will be interpreted according to current TZ and DST, to
come up with SOME numbers :-)
Jan> complainers to Redmond with tar and feathers.
Oh, by the way, did you hear about MS relocation plans? I heard they
will set up their own little village. I think it's called "Potemkin",
or something.
Best regards,
Adrian
Jan> Jan