Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4080f5d3ce8cddba2c37c703e43c920f60251c5fad895e0389aed32d92f488aa
Ticket: 4718b41c56d8c135b018b589c3f031b1262d26c6
windows x86 & x64: file mtime overflows in modification date (2038?, windows 32-bit time_t?)
User & Date: sebres on 2019-09-05 22:16:27
Changes

  1. closedate changed to: "2458732.4280903"
  2. closer changed to: "sebres"
  3. icomment:
    But isn't the size of Tcl_StatBuf different for binaries (e.g. modules like tcltest library show us) compiled before and after [e0b68fe7c6909818]?
    I think yes... And I can imagine it depends and could get wrong data or even segfault if using Tcl_FSStat and co over statPtr allocated in system stack (yes, I know about Tcl_AllocStatBuf and access functions, but... shit happens).
    Also note someone can write a module (binary) targeting both versions (and in 8.5 we had not the access functions like Tcl_GetModificationTimeFromStat, so one would not use it)...
    Also note it can affect some builds mixed includes of Tcl-API with something else using time_t, so in best case it can stop to compile (where it was succeeded previously) or simply stop to work in worse case.
    Just curious one could designate such thing as binary incompatibility.
    
  4. login: "sebres"
  5. mimetype: "text/plain"