Skip to content
Tcl Source Code History Of Ticket 698146ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 698146ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 698146ffffffffffffffffffffffffffffffffff

  1. Ticket change [438eb731da] (rid 116574) by jods on 2003-03-05 18:26:56:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      When tcl is compiled for a 64-bit IRIX64 platform the
      'file atime' and 'file mtime' commands do not set the
      times correctly. 
      
      This is due to a bug in tclCmdAH.c :
      Line 841 - 844 contain
      if (Tcl_GetLongFromObj(interp, objv[3],
      (long*)(&buf.st_atime)) != TCL_OK) {
          return TCL_ERROR;
      }
      
      But the stat buf contains 32 bit ints for atime &
      mtime, not 64 bit longs, so the code could be replaced
      with this:
      
            long along;
      if (Tcl_GetLongFromObj(interp, objv[3],
      &along) != TCL_OK) {
          return TCL_ERROR;
      }
      buf.st_mtime = along;
      
      Where the last line implicitly does the type
      conversion.
      
      Similar for mtime.
      
    4. foundin initialized to: "obsolete: 8.4.2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "jods"
    9. subsystem initialized to: "16. Commands A-H"
    10. title initialized to: "file atime & mtime broken for 64 bit OSs"
    11. type initialized to: "Bug"
  2. Ticket change [1cb9e3965b] (rid 90664) by dkf on 2003-03-07 18:52:20:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      It's fractionally better (fewer assignments) to put the
      value read from the long directly into the utimbuf instead
      of the statbuf.
      
      In the HEAD now.  (Left open to remind me to check this into
      the 8.4 branch.)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. resolution changed to: "Fixed"
    5. username: "dkf"
  3. Ticket change [3e530cd349] (rid 121242) by dkf on 2003-03-15 05:01:17:

    1. closedate changed to: "2003-03-14T22:01:17"
    2. closer changed to: "dkf"
    3. status changed to: "Closed"