.
D 2004-12-13T21:53:36
J assignee vincentdarley
J cmimetype text/plain
J comment (This\smay\sbe\sa\sTclVFS\sissue,\sbut\sI'm\snot\ssure)\n\nAm\swriting\sa\sVFS\sdriver\sin\sTcl,\swhich\sneeds\sto\sthrow\serrors\s\n(EACCESS)\sfor\scertain\scalls\sto\s"glob"\sfrom\sTcl.\s\sThe\s\n"matchindirectory"\shandles\sglob,\sbut\sI\scannot\smake\sit\sgenerate\s\nerrors\swhich\sget\sthrown\sback\sto\sthe\scaller\sof\sglob.\n\nA\sTclVFS\sdriver\swith\sthe\sfollowing\sdefinition\sin\sit\sreturns\san\sempty\s\nlist\sfor\sglob,\sinstead\sof\sthrowing\san\serror:\n\n\s\s\s\s\sproc\smatchindirectory\s{conn\spath\sactualpath\spattern\stype}\s{\n\s\s\s\s\s\s\s\s\serror\sbah!\n\s\s\s\s\s}\n\nA\srelated\sdetail\sperhaps\sis\smentioned\son\sthe\swiki\sat\sthe\send\sof\spage\s\nhttp://mini.net/tcl/12328\s-\sit\sdoes\snot\sapply\sto\smatchindirectory,\s\nwhich\saccording\sto\sthe\sdocs\sdoes\snot\suse\sposixerror,\sbut\sI'll\sinclude\s\nit\sfor\scompleteness:\n\n\s\s\s\s%\svfs::filesystem\sposixerror\s13\n\s\s\s\scommand\sreturned\sbad\scode:\s-1\n\s\s\s\s%\n\nMy\stest\senvironment\swas\sa\scouple\sof\sdifferent\s8.4.9\sand\s8.5a2\s\nbuilds\son\sMac\sOS\sX\s(tclsh's,\swish's,\sand\stclkit's).\s\sNone\sreturn\san\s\nerror\sfrom\sglob.\n\n-jcw
J foundin obsolete:\s8.4.9
J priority 5\sMedium
J resolution None
J status Open
J submitter jcw
J subsystem 37.\sFile\sSystem
J title cannot\smake\sVFS\sdriver\sthrow\serror\sin\sglob
J type Bug
K 1084705fffffffffffffffffffffffffffffffff
U jcw
Z c50d2342707f14b4ed756638ab11c94e