<i>Inappropriate use of -join by AliasGlob</i> status still Open with 3 other changes
by
.
D 2020-07-16T01:16:50.102
J comment If\sAliasGlob\sis\scalled\swith\sargument\s"-join",\sit\swill\sjoin\sthe\spattern\sarguments\sbefore\spassing\sthem\sto\sthe\sslave's\shidden\s"glob"\scommand;\sbut\sif\sthe\sresult\sis\s"*/pkgIndex.tcl",\sthere\sis\san\sintermediate\sstep\sin\swhich\sAliasGlob\sexpands\s"*/pkgIndex.tcl"\sby\scalling\s"glob"\sin\sthe\smaster\sinterpreter,\sbefore\spassing\sthe\sresult\sto\sthe\sslave.\r\n\r\nThe\sbug\sis\sthat\sAliasGlob\spasses\sthe\s"-join"\soption\sto\sthe\sslave's\s"glob",\swhich\sjoins\sthe\spathnames\sthat\sit\sis\spassed:\sif\sthere\sis\smore\sthan\sone\ssuch\spathname,\sthe\sresult\sis\sa\snonsense\spattern\sand\stherefore\s"no\smatch".\r\n\r\nThere\sis\snever\sany\sreason\sto\spass\sthe\sargument\s"-join"\sto\sthe\sslave's\s"glob"\s-\sthe\sjoin\sis\salways\sdone\sin\sthe\smaster\sinterpreter.\r\n\r\nFixed\sin\sbranch\ssafe-bugfixes-8-6\scommit\s[1de9e63266].\s\sAlso\sa\snew\stest\ssafe-13.7a\sthat\sAliasGlob\sinterprets\sthe\spkgIndex.tcl\ssearch\scorrectly.
J login kjnash
J mimetype text/plain
K 122bd5d842561d7306e54f987f27e238d42655ce
U kjnash
Z 180727fe36a678946bb5fca00c3f2158