<i>Tcl_FindNamespace problem in the Stubs table</i> status still Open with 4 other changes
by
.
D 2003-09-14T04:49:22
J icomment Logged\sIn:\sYES\s\nuser_id=7549\n\nThe\stechnical\sdifficulty\scan\sbe\sdescribed\sin\san\sanalogy.\n\nThe\sdoor\sremains\sidentical\s(same\ssig),\sbut\sthe\slocks\shave\s\nbeen\schanged\s(new\sslot\sin\spublic).\s\sThe\sold\skey\sstill\sworks\sin\s\nthe\snew\slocks,\sbut\sthe\snew\skey\swon't\swork\sin\sthe\sold\slocks\s\n(new\sslot\sis\sNULL,\sold\sslot\shidden\sfrom\sview).\n\nIf\stclStubLib.c\scould\sfill\sin\sthe\snew\sslot\swhen\sNULL,\sboth\skeys\s\nwill\swork\sin\sboth\slocks.\s\sAs\sthe\smemory\sfor\swhere\sthe\sStubs\s\ntable\sis\slocated\sis\sin\sstatic\smemory\sowned\sby\sthe\score,\sa\snew\s\ntable\sof\sthe\stype\sthe\sextension\sunderstands\swill\sneed\sto\sbe\s\nmade\sthat\sit\scopies\sinto\sand\sfills\sfrom\sthe\sold\sinto\sthe\snew\s\nand\sforwarding\sthe\snew\spublic\sones\sfrom\sthe\sthe\sprivate\stable\s\nwhen\srequired.\s\sEx:\n\nmemcpy(newTclStubsPtr,\stclStubsPtr,\ssizeof(TclStubs));\nif\s(newTclStubsPtr->tcl_FindNamespace\s==\sNULL)\s{\n\s\s\s\snewTclStubsPtr->tcl_FindNamespace\s=\stclIntStubsPtr-\n>tcl_FindNamespace;\n}\n\nThe\sdifficulty\sI\ssee\sis\snot\sknowing\sthe\ssize\sof\sthe\stable.\sA\s\ntclStubsPtr->size\sdoes\snot\sexist\sand\sis\sassumed\slarger\sthan\sit\s\nis.\s\sNow\sif\smagic\sgot\sreplaced\sto\sa\ssizeof(TclStubs)\sby\s\ntclStubInit.c\sthat\swould\shelp,\sbut..\s\s\sComplicated,\sbut\s\nprobably\snot\simpossible\sto\swork\saround.\n
J login davygrvy
J mimetype text/plain
J username davygrvy
K 803489ffffffffffffffffffffffffffffffffff
U davygrvy
Z 3ebc1ee1809b99e503c5bf8962603bc4