Artifacts Associated With Ticket 698146ffffffffffffffffffffffffffffffffff
Ticket change [438eb731da] (rid 116574) by jods on 2003-03-05 18:26:56:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "obsolete: 8.4.2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "jods"
- subsystem initialized to: "16. Commands A-H"
- title initialized to: "file atime & mtime broken for 64 bit OSs"
- type initialized to: "Bug"
Ticket change [1cb9e3965b] (rid 90664) by dkf on 2003-03-07 18:52:20:
- 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.)
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- username: "dkf"
- icomment:
Ticket change [3e530cd349] (rid 121242) by dkf on 2003-03-15 05:01:17:
- closedate changed to: "2003-03-14T22:01:17"
- closer changed to: "dkf"
- status changed to: "Closed"