Skip to content
Tcl Source Code Artifact [9d6519e733]
Login

Artifact [9d6519e733]

Artifact 9d6519e73321e5674c71b86d891901d21c0a9d26:

Ticket change [9d6519e733] - Closed ticket [3061814fffffffff|3061814fff]: <i>Tcl use invalid pattern for module name.</i> plus 7 other changes by andreas_kupries on 2010-09-08 23:54:13.
D 2010-09-08T23:54:13
J closedate 2010-09-08T16:54:13
J closer andreas_kupries
J icomment \n\nallow_comments\s-\s1\n\n(Ad\s1)\sThe\smanpage\sis\sout\sof\sdate\sneeds\san\supdate\s...\sDone.\n\n(Ad\s2)\sThis\sis,\sIMHO,\snot\sa\sbug.\n\nFirst\snote,\sfrom\sthe\smanpage\s"Before\sthe\ssearch\sis\sstarted\s...\sAll\soccurrences\sof\sā€œ::ā€\sin\sthe\spackage\sname\sare\sreplaced\sby\sthe\sappropriate\sdirectory\sseparator\scharacter\sfor\sthe\splatform\swe\sare\son".\sSo,\sa\spackage\sa::b::c\sis\stransformed\sto\sa/b/c,\sand\sthe\ssearch\scode\sthen\slooks\sfor\n<base>/a/b/*.tm\s(<base>\sis\smy\splaceholder\shere\sfor\sthe\spaths\sto\ssearchs\sfor\smodules).\n\nNow\snote\sthat\sto\sget\sthe\spackage\sname\sback\sfrom\sa\spath\sthe\scode\sconverts\sthe\s/\sback\sto\s::\s...\sSee\sthe\scode\s'set\spkgfilename\s...'\sin\stm.tcl.\sAt\sthat\spoint\swe\shave\sa\sstring\slike\s"a::b::x-X.y.tm"\sand\sthis\sis\scompared\sagainst\sthe\spkgpattern.\sAs\sthe\sstring\scontains\s':'\sthe\sregex\shas\sto\sallow\sthis.\n\nNow\sif\syou\shave\sa\spackage\swith\sa\sname\slike\s"z::a:b",\susing\sa\ssingle\scolon\s...\sThen\sthe\ssearch\sis\sfor\s"<base>/z/*.tm"\sand\sas\s"a:b-1.tm"\sis\san\sillegal\sfile\sname\son\sWindows\sit\scannot\sbe\sconstructed\sand\swon't\sbe\sfound.\sThat\sthe\spkgpattern\swould\saccept\sit\sis\simmaterial\sat\sthis\spoint.\sWindows\shas\salready\sprevented\syou\sfrom\screating\sthe\sfile\syou\swanted.\sI\sdo\snot\shave\sto\sconstrain\smy\spattern\sto\shandle\ssomething\swhich\scannot\soccur.\sAnd\son\sunix,\swhere\sthis\ssuch\sa\sfile\sis\spossible\sthe\sacceptance\sby\sthe\spattern\sis\salso\scorrect.\n
J login andreas_kupries
J mimetype text/plain
J resolution Fixed
J status Closed
J username andreas_kupries
K 3061814fffffffffffffffffffffffffffffffff
U andreas_kupries
Z 5dcdcc7d4cbd447bb5e7d6abb1137721