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

History Of Ticket 610658ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 610658ffffffffffffffffffffffffffffffffff

  1. Ticket change [fbc2d9f857] (rid 108112) by jkbonfield on 2002-09-17 16:59:49:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      MS Windows cannot deal with environment variables that 
      are blank. It uses this as a way to unset them. I view this as 
      a bug in Windows, but it does cause Tcl some headaches.
      
      % set env(FOO) ""
      % info exists env(FOO)
      1
      % puts env(FOO)
      can't read "env(FOO)": no such variable
      % parray env
      # output of environment, not including FOO
      % info exists env(FOO)
      0
      %
      
      It appears that parray updates the env cache and so resets 
      the array elements.
      Under 8.3.1 this worked in as much as info exists env(FOO) 
      would always yield 0 or a blank environment variable.
      
      James
      
      
    4. foundin initialized to: "obsolete: 8.4.0"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "jkbonfield"
    9. subsystem initialized to: "08. Environment Variables"
    10. title initialized to: "Blank environment variables on windows"
    11. type initialized to: "Bug"
  2. Ticket change [af090bdd11] (rid 97738) by dkf on 2002-09-24 16:40:44:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      This is how environment variables are defined to operate on
      Windows (which sucks, but that's been discussed before in
      many closed-out bugs. Blame Microsoft. Really.)
      
      Only possibly problem is that [info exists env(FOO)]
      succeeded the first time.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. priority changed to: "3 Low"
    5. resolution changed to: "Duplicate"
    6. username: "dkf"
  3. Ticket change [c4e462a390] (rid 111910) by jkbonfield on 2002-09-24 17:26:31:

    1. icomment:
      Logged In: YES 
      user_id=154581
      
      The "Tcl headaches" as I put it was the real issue here; not the 
      blank environment variables as I realise this is a windows bug.
      
      Regarding labelling as duplicate - I agree. I should have 
      searched more thorougly. BugID 488882 is an currently open bug 
      specifically about info exists env() so I suggest this one is closed.
      
      
    2. login: "jkbonfield"
    3. mimetype: "text/plain"
    4. username: "jkbonfield"
  4. Ticket change [8b4965f933] (rid 127538) by hobbs on 2002-11-18 06:24:48:

    1. closedate changed to: "2002-11-17T23:24:48"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      dup of 488882
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "hobbs"