Skip to content
Tcl Source Code History Of Ticket 218754ffffffffff
Login

History Of Ticket 218754ffffffffff

Artifacts Associated With Ticket 218754ffffffffff

  1. Ticket change [ba3afa8bbe] (rid 129289) by nobody on 2000-10-26 01:04:58:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1999 Bug
      Version: 8.1
      SubmitDate: '1999-05-06'
      LastModified: '2000-07-27'
      Severity: MED
      Status: Released
      Submitter: pat
      ChangedBy: ericm
      OS: Solaris
      OSVersion: 2.6
      Machine: Other
      FixedDate: '2000-07-27'
      FixedInVersion: 8.2.2
      ClosedDate: '2000-10-25'
      
      
      Name:
      
      Fred Roeber
      
      
      
      CustomShell:
      
      Nothing
      
      
      
      ReproducibleScript:
      
      In our C program that initializes TCL/TK we did:
      
            Tcl_PutEnv("TM_PATH=xxx")
      
          In our initial TCL script that we invoked from C we tried to do:
      
            if {[info exists env(TM_PATH)] == 1} {
      
          In TCL 8.1 this test always failed. In TCL 8.0.4 it worked as expected.
      
          For
      
          TCL 8.1 we had to instead use:
      
            if {[catch {set tp $env(TM_PATH)} err]} {
      
          This works. It would appear that there is a problem with the "info
      
          exists"
      
          command detecting certain variables.
      
      
      
      ObservedBehavior:
      
      As explained above, "info exists" didn't work as expected. It didn't
      
          detect
      
          variable.
      
      
      
      DesiredBehavior:
      
      As explained earlier, we expected "info exists" to work like it used to.
      
      
      
      
      
      I am unable to duplicate this behavior in Tcl 8.2.2 or 8.3.1.  8.1.x is generally considered to be an unstable release now.  This bug was likely fixed between that version and the current versions.
      
      I'm sorry it took so long to notify you.  If you are still having problems with this bug after upgrading, please let us know.  Thanks for reporting the problem.
      
         Eric Melski                            The Other Tcl Guy
         ericm at ajubasolutions.com            Ajuba Solutions
      
      -- 07/27/2000 ericm
      
      
      
    4. foundin initialized to: "obsolete: 8.1"
    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: "07. Variables"
    10. title initialized to: ""info exists" doesn't see env variables"
    11. type initialized to: "Bug"
  2. Ticket change [99c54a1d89] (rid 110849) by welch on 2000-10-26 08:28:13:

    1. closedate changed to: "2000-10-26T01:28:13"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"