Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c5e457a49c561523b74b04c21f24c0d6445019a6
Ticket: 218687ffffffffffffffffffffffffffffffffff
"info exists" does not sync with environ array.
User & Date: nobody on 2000-10-26 01:04:08
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1737 Bug
    Version: 8.1b3
    SubmitDate: '1999-04-06'
    LastModified: '1999-09-16'
    Severity: SER
    Status: Released
    Submitter: surles
    ChangedBy: hobbs
    OS: All
    OSVersion: NA
    Machine: NA
    FixedDate: '1999-09-16'
    FixedInVersion: 8.2
    ClosedDate: '2000-10-25'
    
    
    The info exists does not sync the Tcl env array with the environ array.  Example script:
    
        interp create i 
        i eval { set env(THIS_SHOULD_EXIST) a}
    
        info exists env(THIS_SHOULD_EXIST)
        set env(THIS_SHOULD_EXIST)
        info exists env(THIS_SHOULD_EXIST)
    
    
    
    The fixed is to put special case code in the info exists command that fires the traces for the env array.  04/06/1999 14:35 - surles -
    --
    This works as expected in 8.2 (returns i, a, 1, a, 1) 
    -- 09/16/1999 hobbs
    
    
    
  4. foundin changed to: "obsolete: 8.1b3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: ""info exists" does not sync with environ array."
  11. type changed to: "Bug"