Skip to content
Tcl Source Code Artifact [8bd9782bc6]
Login

Artifact [8bd9782bc6]

Artifact 8bd9782bc6ff287fb150430d6c76f89aa02ea08c:

Ticket change [8bd9782bc6] - New ticket [218611ffffffffff|218611ffff] <i>bug in &quot;append&quot; command</i>. by nobody on 2000-10-26 01:03:05.
D 2000-10-26T01:03:05
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1442\sBug\nVersion:\s8.0.4\nSubmitDate:\s'1999-03-04'\nLastModified:\s'1999-09-13'\nSeverity:\sLOW\nStatus:\sReleased\nSubmitter:\spat\nChangedBy:\shobbs\nOS:\sSolaris\nOSVersion:\s2.5\sSparc\nMachine:\sOther\nFixedDate:\s'1999-09-13'\nFixedInVersion:\s8.1\nClosedDate:\s'2000-10-25'\n\n\nName:\nmo\n\nReproducibleScript:\ninterp\screate\si\n\ni\seval\s{\n\s\s\s\sset\senv(VAR)\s123455789ABCDEF\n\s\s\s\sappend\senv(VAR)\sG\n\n\s\s\s\sputs\s"env(VAR)\sis\s\\"$env(VAR)\\""\n}\n\n\n\n\nObservedBehavior:\nThis\scode\sis\sbroken\sunder\stcl\s8.0.4\sbut\sit\sworks\sunder\stcl\s8.1b1.\n\n(under\s8.1b1)\nenv(VAR)\sis\s"123455789ABCDEFG"\n\n\n(under\s8.0.4\sand\searlier)\nenv(VAR)\sis\s""\n\n\n\n\nDesiredBehavior:\nThe\svariable\svalue\sshould\sbe\s"123455789ABCDEFGH",\snot\s"".\n\nI\sattempted\sto\sfigure\sout\swhat\swas\sgoing\son\shere\nwith\slittle\sluck.\sI\sfound\sthat\sTcl_AppendObjCmd\nwould\scall\sTcl_ObjSetVar2\sto\sappend\sthe\s"G"\sto\nthe\sarray\svariable\sbut\safter\sthe\sappend\sin\nTcl_ObjSetVar2\ssome\swrite\straces\sgot\sinvoked\sand\non\sthe\ssecond\swrite\strace\sTcl_ObjSetVar2\sgot\ncalled\sagain\sbut\sthis\stime\sthe\svalue\sof\sthe\svar\ngot\sset\sto\s"".\sIf\sthis\scode\sis\srun\soutside\sof\na\ssub\sinterp\sthen\sit\swill\sinvoke\sa\ssingle\swrite\ntrace\sbut\sa\ssecond\swrite\strace\s(the\sone\sthat\nincorrectly\ssets\sthe\svalue\sto\s"")\swill\snot\sget\nrun.\sDoes\sanyone\shave\sany\sclue\swhat\sis\sgoing\son\nhere\sand\show\sI\scan\sfix\sit?\n\n\nAny\shelp\swould\sbe\sgreat.\nMo\sDeJong\ndejong\sat\scs.umn.edu\n\n\n\n\nI've\sverified\sthat\sthis\sdoes\shappen.\s\sVery\sodd.\s\sMaybe\sa\sref\scount\sbug.\s\sHowever,\nwe\swill\sprobably\snot\stake\stime\sto\sfix\sthis\sas\sit\shas\sbeen\sfixed\sin\s8.1.\s\sPlease\nupgrade\sto\sget\sthe\sfix.\s\s03/13/1999\s15:34\s-\srjohnson\s-\n\n
J foundin obsolete:\s8.0.4
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title bug\sin\s"append"\scommand
J type Bug
K 218611ffffffffffffffffffffffffffffffffff
U nobody
Z 1acd18949c19a52aebe19aaddac0e4b3