Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f45e5d3231c87c58e499d2b2c3712379f08cf4ba
Ticket: 1353840fffffffffffffffffffffffffffffffff
windows stat has daylight savings problems
User & Date: kennykb on 2005-11-15 04:38:00
Changes

  1. icomment:
    Logged In: YES 
    user_id=99768
    
    Matt,
    
    The worst thing about this issue is that it's filesystem
    dependent.  What you just described is correct for NTFS,
    I *think*.  FAT, on the other hand, stores file times as
    local time.  GetFileTime is documented to return a different
    result from FindFirstFile, and they *both* appear to be
    wrong in different ways after a Daylight Saving Time
    transition.
    
    At least, that's the way that I read the amphigory at
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/file_times.asp
    Do you understand what it's saying about FAT any better
    than I do?  Do we care about FAT? (I think so - although
    if we have to make one of them buggy, better FAT than
    NTFS, I concede.)
    
    Still thinking about applying this patch.  I doubt,
    the comments notwithstanding, that it's a Borland-vs-MSVC
    issue; it's more of a FAT32-vs-NTFS issue.
    
    
  2. login: "kennykb"
  3. mimetype: "text/plain"
  4. username: "kennykb"