<i>-exact version matching broken</i> status still Open with 4 other changes
by
.
D 2007-05-29T22:56:02
J icomment Logged\sIn:\sYES\s\nuser_id=80530\nOriginator:\sYES\n\n\nI\sthink\sthese\spatches\sdo\sthe\sright\sthing.\n\nThey\sprovide\scompatible\ssupport\sfor\nthe\ssensible\shistoric\sways\sto\scall\nTcl_InitStubs():\n\n\s\sTcl_InitStubs(i,\sTCL_VERSION,\s1)\n\nThis\swould\sbe\scalled\sto\sget\sa\sTcl\sstubs\ntable\sfrom\sthe\ssame\sTCL_VERSION\sseries\nas\swas\sused\sto\scompile\sthe\sextension.\nWith\sthis\spatch,\sthat\ssame\smeaning\sis\nmaintained,\swithout\sthe\sneed\sto\sdamage\nthe\scompatibility\sof\swhat\s\n[package\srequire\s-exact]\shas\salways\smeant.\n\n\s\sTcl_InitStubs(i,\sTCL_VERSION,\s0)\n\nwould\sget\sa\sstub\stable\sfrom\sthe\ssame\nTCL_VERSION\sseries\sas\swas\sused\sto\ncompile\sthe\sextension,\sor\sfrom\sany\ncompatible\slater\sversion.\s\sAgain\sthis\npatch\sdoes\sthe\ssame\sthing\swhen\ncalled\sin\sthe\ssame\sway.\n\nIn\saddition,\sthis\spatch\spermits\ssome\nother\scases\sidentified\sby\sjenglish\sto\nbe\saddressed\sfor\sthe\sfirst\stime.\n\n\s\sTcl_InitStubs(i,\sTCL_PATCH_LEVEL,\s0)\n\ncan\sbe\sused\sto\sset\sa\smore\sdiscriminating\nfloor\son\sthe\sset\sof\sacceptable\sstub\stables,\nso\sthat,\ssay,\sstub\stables\sfrom\sonly\sTcl\s8.5.2\nand\slater\swould\sbe\saccepted,\sand\sattempts\sto\ncall\sin\sa\sTcl\s8.5.0\sinterp\swould\sfail.\n\n\s\sTcl_InitStubs(i,\sTCL_PATCH_LEVEL,\s1)\n\ncould\sbe\sused\sto\sdemand\slockstep\srequirement\nfor\sa\sstub\stable\sfrom\sa\ssingle\srelease\sof\sTcl.\nI\stend\sto\sdismiss\sthis\sa\slot,\ssince\sit\scounters\nthe\smultiple\sversion\scapabilities\sprovided\sby\nstubs.\s\sBut\sthere\scan\sbe\sother\sreasons\sto\suse\sstubs\n(getting\san\sarchitecture\ssuitable\sfor\sstarkit\sinclusion,\nfor\sinstance),\sand\sfrom\sa\sstrict\sperspective\sof\n"support\sonly\swhat\sI\stest",\sthis\scan\sbe\sa\suseful\ntool\sfor\ssome\sdevelopers\sand\ssome\sneeds.\n\nThere\sare\ssome\sother\smore\scomplex\srequirement\nneeds\sthat\scannot\sbe\sexpressed\swith\sa\ssingle\nTcl_InitStubs()\scall\seven\swith\sthis\npatch\sin\splace,\sbut\sI\sreally\scannot\simagine\ncompletely\saddressing\sthose\swithout\san\sentirely\nnew\sinterface\sroutine.\n\nThere\smore\scomplex\srequirements\s*can*\sbe\sresolved\nwith\sthis\spatch,\sif\sone\suses\sTcl_InitStubs()\sto\nfirst\sget\san\s8.5a7\sstubs\stable,\sand\sthen\smake\na\scall\sto\sTcl_PkgRequireProc()\sto\smake\sa\srequirements\ntest\swith\sthe\sfull\spower\sand\sgenerality\sof\sthe\nTIP\s268\senhanced\s[package\srequire]\scommand.\s\n
J login dgp
J mimetype text/plain
J username dgp
K 1578344fffffffffffffffffffffffffffffffff
U dgp
Z ccd2117cd318491a4e5e9a8200b109f3