Skip to content
Tcl Source Code Artifact [ba3afa8bbe]
Login

Artifact [ba3afa8bbe]

Artifact ba3afa8bbed51b6e4648e5eefb8c51eea9d7f8d1:

Ticket change [ba3afa8bbe] - New ticket [218754ffffffffff|218754ffff] <i>&quot;info exists&quot; doesn&#39;t see env variables</i>. by nobody on 2000-10-26 01:04:58.
D 2000-10-26T01:04:58
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1999\sBug\nVersion:\s8.1\nSubmitDate:\s'1999-05-06'\nLastModified:\s'2000-07-27'\nSeverity:\sMED\nStatus:\sReleased\nSubmitter:\spat\nChangedBy:\sericm\nOS:\sSolaris\nOSVersion:\s2.6\nMachine:\sOther\nFixedDate:\s'2000-07-27'\nFixedInVersion:\s8.2.2\nClosedDate:\s'2000-10-25'\n\n\nName:\n\nFred\sRoeber\n\n\n\nCustomShell:\n\nNothing\n\n\n\nReproducibleScript:\n\nIn\sour\sC\sprogram\sthat\sinitializes\sTCL/TK\swe\sdid:\n\n\s\s\s\s\s\sTcl_PutEnv("TM_PATH=xxx")\n\n\s\s\s\sIn\sour\sinitial\sTCL\sscript\sthat\swe\sinvoked\sfrom\sC\swe\stried\sto\sdo:\n\n\s\s\s\s\s\sif\s{[info\sexists\senv(TM_PATH)]\s==\s1}\s{\n\n\s\s\s\sIn\sTCL\s8.1\sthis\stest\salways\sfailed.\sIn\sTCL\s8.0.4\sit\sworked\sas\sexpected.\n\n\s\s\s\sFor\n\n\s\s\s\sTCL\s8.1\swe\shad\sto\sinstead\suse:\n\n\s\s\s\s\s\sif\s{[catch\s{set\stp\s$env(TM_PATH)}\serr]}\s{\n\n\s\s\s\sThis\sworks.\sIt\swould\sappear\sthat\sthere\sis\sa\sproblem\swith\sthe\s"info\n\n\s\s\s\sexists"\n\n\s\s\s\scommand\sdetecting\scertain\svariables.\n\n\n\nObservedBehavior:\n\nAs\sexplained\sabove,\s"info\sexists"\sdidn't\swork\sas\sexpected.\sIt\sdidn't\n\n\s\s\s\sdetect\n\n\s\s\s\svariable.\n\n\n\nDesiredBehavior:\n\nAs\sexplained\searlier,\swe\sexpected\s"info\sexists"\sto\swork\slike\sit\sused\sto.\n\n\n\n\n\nI\sam\sunable\sto\sduplicate\sthis\sbehavior\sin\sTcl\s8.2.2\sor\s8.3.1.\s\s8.1.x\sis\sgenerally\sconsidered\sto\sbe\san\sunstable\srelease\snow.\s\sThis\sbug\swas\slikely\sfixed\sbetween\sthat\sversion\sand\sthe\scurrent\sversions.\n\nI'm\ssorry\sit\stook\sso\slong\sto\snotify\syou.\s\sIf\syou\sare\sstill\shaving\sproblems\swith\sthis\sbug\safter\supgrading,\splease\slet\sus\sknow.\s\sThanks\sfor\sreporting\sthe\sproblem.\n\n\s\s\sEric\sMelski\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sThe\sOther\sTcl\sGuy\n\s\s\sericm\sat\sajubasolutions.com\s\s\s\s\s\s\s\s\s\s\s\sAjuba\sSolutions\n\n--\s07/27/2000\sericm\n\n
J foundin obsolete:\s8.1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 07.\sVariables
J title "info\sexists"\sdoesn't\ssee\senv\svariables
J type Bug
K 218754ffffffffffffffffffffffffffffffffff
U nobody
Z 556664c5170faa56e6eb0de79b2b29d4