Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6064d698a22a4afd55c607ea37dfe5f671754df5dd81330179d046e74530a226
Ticket: 4718b41c56d8c135b018b589c3f031b1262d26c6
windows x86 & x64: file mtime overflows in modification date (2038?, windows 32-bit time_t?)
User & Date: sebres on 2019-07-09 07:58:40
Changes

  1. icomment:
    Just by the way...
    
    <i>> Just switch to either Tcl 9.0 or Win64 before 2038, there's still more than 18 years left before it becomes a problem.</i>
    
    Nope, in my case it is impossible, because I'd need it right now :) 
    
    There are some SAN/NFS/CIFS systems (for example like [https://docs.netapp.com/ontap-9/topic/com.netapp.doc.pow-arch-con/GUID-965E52F1-5484-4434-96A2-00B372D34F6A.html|NetApp Snaplock]) which uses an access time as retention time in order to protect a document in WORM against modification/removal at hardware level.
    Or some others which calculates a retention period from the artificial modification time.
    
    And there are some clusters/documents (e. g. tax or archive relevant things) which should be immutable 20-30 years (and not rare still longer), so we're already in year 2039-2049 ;)
    
    Also to ignore such bug (or silently write wrong time) is not an option in my case.
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"