Skip to content
Tcl Source Code Artifact [31ead71b26]
Login

Artifact [31ead71b26]

Artifact 31ead71b260450a60bd3afe56962686365306191:

Ticket change [31ead71b26] - Ticket [2662380fffffffff|2662380fff] <i>Bug in append</i> status still Open with 5 other changes by dgp on 2009-04-08 21:42:01.
D 2009-04-08T21:42:01
J assignee msofer
J icomment \nI\smodified\sthe\stest\sscript\sso\sthat\sthe\s"Unsetting"\nmessages\sreports\sthe\svalue\sof\sthe\svariable\sabout\nto\sbe\sunset.\s\sThen\stesting\son\sTcl\sreleases\s7.6p2\nand\s8.3.5,\sI\ssee\sthey\sagree\son\sthis\soutput:\n\na,\stest,\sw\nUnsetting\sa(test)\s=\sone.\na,\stest,\sw\nUnsetting\sa(test)\s=\stwo.\n\nWithout\sthinking\stoo\sdeeply\sabout\sit,\s\nI\sadmit,\sthat\soutput\salso\smakes\ssense\nto\sme.\s\s[append]\scan\soperate\son\na\sname\sof\sa\snon-existent\svariable,\ncreating\sthe\svariable\sby\smaking\sthe\nappending\swrite\sto\sit.\s\sWrite\straces\ncome\safter\sthe\swriting,\sso\sat\sthat\spoint\nthe\svariable\sexists,\sand\sthe\strace\scan\nunset\sit.\s\sWe\send\sup\sback\swhere\swe\nstarted\swith\sno\sexisting\svariable.\nMultiple\sarguments\sto\sappend\njust\smeans\swe\srepeat\sthe\scycle.\n\nAppears\sthis\sreport\sis\sexposing\ssome\nflaws\sin\ssome\sof\sthe\svarName\sresolution\ncaching\smachinery\sthat's\scome\sin\sreleases\n8.4\sand\slater.\n\nFixing\sthat\sright\smay\stake\ssome\stime\nand\sthought\s(*),\sand\ssince\sit\sappears\sthe\nclaims\sof\s"crashes"\sare\sincorrect,\sI'll\nleave\sthis\sone\sto\scome\sback\sto.\n\nThe\ssubmitted\spatches\smay\swell\sbe\sthe\nright\sanswer,\sI'm\snot\ssure\syet,\sbut\sthe\nflaws\sexposed\sare\sbroader\sand\sdeeper,\nso\sI'd\sprefer\sto\sbe\smore\scertain\sabout\sa\nmore\scomplete\sfix.\n\n(*)\sor\sat\sleast\ssome\sinput\sfrom\smsofer.\s:)\n\n
J login dgp
J mimetype text/plain
J username dgp
K 2662380fffffffffffffffffffffffffffffffff
U dgp
Z b62395b519fc2fd11d9af11239663a24