Ticket Change Details
Not logged in
Overview

Artifact ID: 5714d1caf107963955639156656c0b7ac1577875a4dd4dba02e05558b009037f
Ticket: 4718b41c56d8c135b018b589c3f031b1262d26c6
windows x86 & x64: file mtime overflows in modification date (2038?, windows 32-bit time_t?)
User & Date: sebres 2019-07-08 20:34:28
Changes

  1. icomment:
    Branch [/timeline?r=bug-4718b41c56|bug-4718b41c56] should fix this for x86 build >= 8.5 and CRT supporting 64-bit time_t and provides test-cases covering this bug.
    
    Possibly it can (or should) be additionally protected by some define (or configure option/CFLAGS/etc) for binary compatibility across several windows platform if compiled and/or executed with different CRT-libraries.
    
    Or we could simply rewrite it using something like this:
    <code><pre>
    <b style="color:green">+ #if defined(_USE_64BIT_TIME_T) || defined(TCL_FORCE_64BIT_TIME)</b>
    ...
    <b style="color:green">+ #endif</b>
    </pre></code>
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"