Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 00878d7ea19dce9dc9eb104a4b8fe93ea789937c1e33fc4faaaf6eb94cc520d9
Ticket: 4718b41c56d8c135b018b589c3f031b1262d26c6
windows x86 & x64: file mtime overflows in modification date (2038?, windows 32-bit time_t?)
User & Date: jan.nijtmans on 2019-09-05 21:21:34
Changes

  1. closedate changed to: "2458732.3899773"
  2. closer changed to: "jan.nijtmans"
  3. icomment:
    >@Jan: looking at [e0b68fe7c6909818], would it not "cause binary incompatibility" (as you wanted to tell me somewhere below?;)
    
    Nice try ;-)   It - indeed -  means that there's a conflict regarding 3 stub functions: TclpGetDate(), TclpLocalTime() and TclpGmtime(), extensions calling any of those 3 might be in trouble. Lucky: Those functions are in the internal stub table, they will be removed in Tcl 9.0. So they cannot be depended upon already anyway.
    
    Thanks for - finally - fixing this. Although tclWinPort.h is not the best location to set _USE_32BIT_TIME_T (it should be done by "configure" or "rules.vc", it's not really worth
    to fix that now. API's using Tcl_StatBuf are OK, that's what counts the most because - yes - those functions are in the public API. Pity that sizeof(time_t) cannot be relied upon ...
    
    Again, thanks all!
    
  4. login: "jan.nijtmans"
  5. mimetype: "text/plain"