<i>Improve handling of ::auto_path in Safe Base interpreters</i> status still Open with 4 other changes
by
.
D 2012-06-04T02:46:30
J icomment The\sattached\sfiles\sare\spatches\sthat\sprovide\sthis\sfeature\sas\san\soption,\sand\salso\sfix\sfour\sbugs\sthat\swere\sreported\sas\sadditions\sto\sbug\sreport\s2964715.\n\nThe\spatches\s(one\sfor\sthe\strunk,\sone\sfor\sthe\score-8-5-branch),\sprovide\sthe\sfollowing:\n\n1.\sBugfix\s-\sAliasGlob\sdoes\s"-join"\sitself,\sand\sso\sit\sdoes\snot\sneed\sto\spass\s"-join"\sto\sthe\sglob\scommand\sagain\n2.\sBugfix\s-\sspurious\sdirectories\sin\smodule\spath\s(test\sfailure\ssafe-14.1)\n3.\sBugfix\s(plus\simproved\stest\s7.3)\s-\sclean\sup\scorrectly\safter\sdeleting\sa\sslave\sthat\shas\sSafe\sBase\ssub-interpreters\n4.\sBugfix\s(plus\snew\stests\s19.1,\s19.2)\s-\sinit.tcl\sinappropriately\sadds\sun-tokenized\sdirectories\sto\sa\sslave's\sauto_path\n5.\sExtra\stests\s17.1,\s17.2:\sCheck\sthat\sfirst\selement\sof\sslave\sauto_path\s(and\saccess\spath)\sis\sTcl\sLibrary\n6.\sNew\stest\s7.4\sof\spkgIndex.tcl\spackage\sloading,\sto\scomplement\s7.1,\s7.2\n7.\sNew\stest\s7.5\sof\smodule\sloading,\sincluding\stest\sof\sancestor\sdirectory\srule\n8.\sOptional\sAutoPathSync\sfacility\s("on"\sby\sdefault,\sto\sreplicate\sthe\sexisting\sbehavior)\sto\soperate\swith\sor\swithout\sthe\sprevious\sfeature\sof\ssynching\sauto_path\swith\sthe\saccess\spath,\sand\sthereby\sdumping\sthe\sentire\saccess\spath\sinto\s::auto_path.\s\sTests\s7.1,\s7.2\sare\smodified\sso\sthey\swork\swith\sor\swithout\sthis\spatch;\snew\stests\s18.1,\s18.2,\s18.3,\s18.4,\s18.5\sare\ssupplied\sfor\sthe\sno-dumping\s("off")\scase.\n\nI\swork\sa\sgreat\sdeal\swith\sthe\sSafe\sBase,\sand\sI\sfind\sthe\sAutoPathSync\s"off"\sfacility\sto\sbe\sextremely\shelpful\swhen\sdebugging\spackage\sloading\sproblems.\s\sI\shope\sthat\sthis\sfeature\scan\sbe\sincluded\swith\sthe\sofficial\sTcl\srelease.\n\nIf\sa\sfurther\schange\swould\snot\sbe\sconsidered\sto\schange\sTcl\stoo\smuch\sfrom\sits\sexisting\sbehavior,\sthe\sAutoPathSync\sdefault\scan\sbe\schanged\sfrom\s"on"\sto\s"off"\sby\sreplacing\s(near\sthe\send\sof\ssafe.tcl):\n\s\s\s\svariable\sAutoPathSync\s1\nwith\n\s\s\s\svariable\sAutoPathSync\s0\n\n
J login kjnash
J mimetype text/plain
J username kjnash
K 2964719fffffffffffffffffffffffffffffffff
U kjnash
Z 4e3347ca9fcfe62343862a4c52c18981