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

History Of Ticket 559376ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 559376ffffffffffffffffffffffffffffffffff

  1. Ticket change [da47b274c8] (rid 107744) by nobody on 2002-05-22 21:48:21:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
    4. foundin initialized to: "obsolete: 8.3.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "16. Commands A-H"
    10. title initialized to: "Clock format w/ -gmt 1 leaks memory"
    11. type initialized to: "Bug"
  2. Ticket change [73238cae36] (rid 104993) by dkf on 2002-05-23 16:20:20:

    1. assignee changed to: "kennykb"
    2. subsystem changed to: "06. Time Measurement"
  3. Add attachment "gmttz.patch" [9d49f2a973] (rid 96275) by hobbs on 2002-05-25 02:32:56.

  4. Ticket change [bd4d34b546] (rid 101881) by hobbs on 2002-05-25 02:32:56:

    1. assignee changed to: "hobbs"
    2. closedate changed to: "2002-05-24T19:32:56"
    3. closer changed to: "hobbs"
    4. 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.
      
      
    5. login: "hobbs"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "hobbs"