.
D 2001-11-07T03:42:28
J icomment Logged\sIn:\sYES\s\nuser_id=75003\n\nMost\slikely.\sI\sdid\sa\sdebug\ssession\sthis\smorning\sand\scame\s\nwith\sthis\sexplanation\s(excerpt\sfrom\semail\sto\sLarry\sand\s\nVincent).\sSorry,\sLarry\sdidn't\stell\sme\sthat\she\sa\sbug\sreport\s\nsubmitted\sor\sI\swould\shave\supdated\sit\searlier.\n\nHm.\sThe\strouble\shappens\swhen\sthe\shigher\slayers\stry\sto\nretrieve\sthe\scurrent\sworking\sdirectory.\sThe\sVFS\slayer\nof\sTcl\sis\sgoing\sthrough\sthe\sregistered\sfilesystems\sand\nasks\sthem\sif\sthey\sknow\sabout\sa\sdirectory.\sThis\sdirectory\nis\sthe\sdirectory\scontaining\sthe\stclvfs\spackage.\s...\nAnd\sthe\shigher\slevel\stcl\scode\sjust\stries\sto\swrite\sinto\nthe\sfile\s"pkgIndex.tcl".\n\nThis\smeans\sthat\sloading\s"tclvfs"\sby\s'pkg_mkIndex'\swas\nalright.\sSo\swas\sthe\scode\safterward\slooking\sfor\snew\ncommands\s...\sBut\sthe\slast\scommand,\swriting\sthe\spackage\nindex\sfails.\n\nAiiihh.\sI\ssee\sthe\sproblem\s!\n\n'pkg_mkIndex'\sloads\sthe\sextension\sinto\sa\sslave-\ninterpreter,\sdoes\sthe\scommand\sdiscovery\sand\sthen\ndestroys\sthe\sslave\sagain.\sBut\stclvfs\sstays\sin\nmemory\sand\swhen\strying\sto\swrite\sthe\spkgIndex\sfrom\nthe\s_main_\sinterpreter\stclvfs\smost\sassuredly\stries\nto\saccess\sthe\sdeleted\sslave\sto\slook\sfor\sits\n"vfs::mount"\svariable.\n\nThis\sis\sa\sdesign\sproblem\swith\stclvfs\s...\sMaybe\nwith\sVFS.\sA\sfuture\sVFS\sFR\smight\sbe\sto\shave\sper-\ninterp\sFS\sregistrations\sinstead\sof\sthe\scurrent\nglobal\sone.\n\nWorkaround,\sbugfix:\n\n\s\s\s\sHave\stclvfs\sregister\sa\s'DeleteHandler'\sfor\sthe\n\s\s\s\sinterp\sit\suses\sto\shold\sits\sown\sstate.\sUnregister\n\s\s\s\stclvfs\sif\sthat\sinterp\sgoes\saway.\n\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 478641ffffffffffffffffffffffffffffffffff
U andreas_kupries
Z 5842503ced9a364d60ca73f8829a65b5