Skip to content
Tcl Source Code History Of Ticket 10aa8403d064439f
Login

History Of Ticket 10aa8403d064439f

Artifacts Associated With Ticket 10aa8403d064439f

  1. Ticket change [34b41ed71c] (rid 225624) by emiliano on 2024-05-09 17:29:07:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      Tests cmdAH-24.20.1 and cmdAH-24.20.2 fails on linux i386 machine
      
      <pre>
      
      $ uname -mpi
      i686 i686 i686
      
      $make test
      [snip]
      cmdAH.test
      
      
      ==== cmdAH-24.20.1 Tcl_FileObjCmd: atime 64-bit time_t, bug [4718b41c56] FAILED
      ==== Contents of test case:
      
          # This test may fail if your system does not have a 64-bit time_t.
          # That is to be expected and is not a problem with Tcl.
          list [file atime $filename 3155760000] [file atime $filename]
      
      ---- Result was:
      -1139207296 -1139207296
      ---- Result should have been (exact matching):
      3155760000 3155760000
      ==== cmdAH-24.20.1 FAILED
      
      
      
      ==== cmdAH-24.20.2 Tcl_FileObjCmd: mtime 64-bit time_t, bug [4718b41c56] FAILED
      ==== Contents of test case:
      
          # This test may fail if your system does not have a 64-bit time_t.
          # That is to be expected and is not a problem with Tcl.
          list [file mtime $filename 3155760000] [file mtime $filename]
      
      ---- Result was:
      -1139207296 -1139207296
      ---- Result should have been (exact matching):
      3155760000 3155760000
      ==== cmdAH-24.20.2 FAILED
      [snip]
      Tests ended at Thu May 09 14:15:26 -03 2024
      all.tcl:	Total	66563	Passed	60838	Skipped	5723	Failed	2
      Sourced 164 Test Files.
      Files with failing tests: cmdAH.test
      
      </pre>
      
      Shouldn't be a constraint for this?
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "emiliano"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Important"
    11. status initialized to: "Open"
    12. submitter initialized to: "emiliano"
    13. subsystem initialized to: "06. Time Measurement"
    14. title initialized to: "test cases failures on 32bit machine"
    15. type initialized to: "Bug"
  2. Ticket change [565a972669] (rid 225625) by jan.nijtmans on 2024-05-09 18:49:16:

    1. assignee changed to: "jan.nijtmans"
    2. icomment:
      In this case I think it's better to keep it as-is.
      
      Tcl and Tk have all machinery to recognize a 64-bit time_t, and use it when available. Tcl 8.6 even has a 64-bit Tcl_Time.seconds field, so it should be fully 2038-proof. If a system has a 64-bit time_t, but Tcl doesn't recognise and handle it, a bug-report should be filed. Your 32-bit system apparently doesn't have a 64-bit time_t (I hope), otherwise this is a real bug.
      
    3. login: "jan.nijtmans"
    4. mimetype: "text/x-fossil-wiki"
  3. Ticket change [aacf0b81fb] (rid 225636) by sebres on 2024-05-10 10:26:55:

    1. closedate changed to: "2460440.93536874"
    2. closer changed to: "sebres"
    3. icomment:
      This tests have a constraint in 8.5 to 8.7, but not in trunk (completely removed in [311bcb3286ead642], but it was statically 1 before in trunk)...<br/>
      And it is not <code>time_t</code> but rather <code>Tcl_StatBuf::st_mtime</code> in that case.
      However I initially wrote the command testsize (used in constraint) in 8.5 platform-independent, since 8.6 it was windows only.
      
      Now it is rewritten as platform-independent from 8.6 (for st_mtime only), and I also restored removed constraint <code>time64bit</code> for that cmdAH-tests.
      
      Tests are welcome.
      
    4. login: "sebres"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"