.
D 2012-05-31T19:00:57
J icomment This\sis\smore\sor\sless\sa\sgeneral\sproblem,\sintroduced\swith\ssafe\sbase's\scompatibility\sfor\stm\spackages,\sthat\shave\snever\sbeen\ssolved.\n\nCurrently\sa\sproblem\sis\sthat\syou\scould\sload\sa\stm\smodule\scalled\stcl::chan::fifo\sas\schan::fifo.\n\nThat\smeans\sthere\sare\sthe\sfollowing\sproblems:\n1)\sThe\ssame\sfile\scan\sbe\saccessed\sby\sdifferent\spaths,\slike\s$p(:0:)/foo/bar.tcl\sand\s$p(:1:)/bar.tcl\nThis\smeans\sthat\sthe\sdirectory\sstructure\sis\snot\sprotected.\n2)\sIf\sI\swant\sto\sallow\sa\ssafe\sinterp\sto\saccess\sa\sgiven\sdirectory,\sI\susually\sneed\s[file]\s(no\sproblem,\sthe\snew\shave\sto\sbe\scompatible\swith\sthe\snormal\ssafe\s[file]\scommand),\s[open]\s(not\sexposed)\sand\s[glob].\sWriting\sa\scompatible\s[glob]\sis\sonly\spossible\swith\sintrospection\s([interp\salias\s$slave\sglob])\sor\sother\scomplex\stechniques.\n\n\nI\ssee\s2\spossible\ssolutions:\s\n\n1)\sTM\smodules\scould\sbe\ssearched\sby\sthe\sparent.\sThis\smeans\sthat\snon-tm\smodules\scan\sonly\sbe\sloaded\sif\sthey\sare\sin\sthe\saccess\spath.\sThis\sis\salso\swhat\sthe\sdocumentation\sstates.\sIn\sthis\sapproach,\s[glob]\sis\snot\slonger\sneeded\sin\sthe\ssafe\sbase.\n\n2)\sexpose\sthe\sentire\sdirectory\sstructure.\sI\shave\swritten\ssuch\sa\sreplacement\s\sfor\sthe\ssafe\sbase,\sthe\sapi\sis\snot\scomplete\syet,\sbut\sI'm\salready\susing\sit\sproductive.\shttp://johannes13.de/svn/john-tools/safe.tcl\sIt\sis\sbroken\son\sTcl\s8.6b2.\n
J login johannes-kuhn
J mimetype text/plain
J username johannes-kuhn
K 2917673fffffffffffffffffffffffffffffffff
U johannes-kuhn
Z 92635cff661ee972697e2f7c74f6203e