Artifacts Associated With Ticket 559376ffffffffff
Ticket change [da47b274c8] (rid 107744) by nobody on 2002-05-22 21:48:21:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
We have discovered the following : clock format 0 -gmt 1 Actually it does not matter what the value to clock format is as long as you set -gmt 1. Here is a script that will leak:: while 1 {clock format 0 -gmt 1} It also appears that -gmt 1 takes 18 times longer to execute than -gmt 0 - foundin initialized to: "obsolete: 8.3.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "16. Commands A-H"
- title initialized to: "Clock format w/ -gmt 1 leaks memory"
- type initialized to: "Bug"
Ticket change [73238cae36] (rid 104993) by dkf on 2002-05-23 16:20:20:
- assignee changed to: "kennykb"
- subsystem changed to: "06. Time Measurement"
Add attachment "gmttz.patch" [9d49f2a973] (rid 96275) by hobbs on 2002-05-25 02:32:56.
Ticket change [bd4d34b546] (rid 101881) by hobbs on 2002-05-25 02:32:56:
- assignee changed to: "hobbs"
- closedate changed to: "2002-05-24T19:32:56"
- closer changed to: "hobbs"
- icomment:
File Added - 23694: gmttz.patch Logged In: YES user_id=72656 Attached is a patch for 8.3 (also will apply to 8.4) that fixes this problem, as well as making it faster to boot. This passes the useGMT to TclpStrftime so that we avoid needing the env (TZ) setting trick, which is where the mem leak occured (due to a Windows msvcrt bug). In addition, this also makes the %c %x and %X locale- specific time/date formats work correctly on Windows, as well as correcting the behavior of %s with -gmt 1.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "hobbs"