Skip to content
Tcl Source Code Artifact [1811f3a8bd]
Login

Artifact [1811f3a8bd]

Artifact 1811f3a8bdf82fd4da7ad3912a2d4436fc807072:

Ticket change [1811f3a8bd] - Closed ticket [1790435fffffffff|1790435fff]: <i>Error in generic/tclVar.c TclDeleteNamespaceVars()</i> plus 7 other changes by msofer on 2007-09-08 03:45:01.
D 2007-09-08T03:45:01
J closedate 2007-09-07T20:45:01
J closer msofer
J icomment Logged\sIn:\sYES\s\nuser_id=148712\nOriginator:\sNO\n\nNot\san\serror,\sper\sdesign.\n\nFirst,\sno\sinfinite\sloop:\seach\stime\syou\sgo\sthrough\sthe\sbody\sone\svariable\sis\sdeleted\sfrom\sthe\stable\sby\sTcl_DeleteHashEntry,\sso\s(assuming\sno\snew\svariables\sare\screated)\seventually\sthere\sare\snone\sleft.\n\nSecond,\sper\sdesign:\sdelete\straces\son\svariables\smay\screate\sor\sdelete\sother\svariables.\sBy\sstarting\sthe\ssearch\sanew\swith\sTcl_FirstHashEntry\syou\sinsure\sthat\s(a)\syou\salways\sget\sa\svalid\shPtr\s(as\sopposed\sto\sone\sthat\swas\sdeleted\sfrom\sunder\syour\sfeet),\sand\s(b)\sno\snew\shPtr\sappeared\sbehind\syour\sback\s(at\sa\spart\sof\sthe\shashtable\sthat\syou\sthought\syou\swere\sdone\svisiting).\n\nThis\sis\simplemented\scorrectly,\sbut\sis\sindeed\sproblematic\sand\scan\slead\sto\sinfinite\sloops\s(every\sdeleted\svariable\screates\sanother\sone\svia\sa\strace):\ssee\sbug\s#1740700\n\nThe\sprecise\ssemantics\sand\sevent\sordering\son\snamespace\sdeletion\srequires\srevisiting.\n
J login msofer
J mimetype text/plain
J resolution Invalid
J status Closed
J username msofer
K 1790435fffffffffffffffffffffffffffffffff
U msofer
Z bce422a4b6f8225e01cd0cf40724cc80