Skip to content
Tcl Source Code Artifact [a26d2c55e4]
Login

Artifact [a26d2c55e4]

Artifact a26d2c55e4791c925ca4e4cee93b1649c1aa2af4:

Ticket change [a26d2c55e4] - Ticket [3588687fffffffff|3588687fff] <i>Tcl_InitStubs() Broken As Designed</i> status still Open with 4 other changes by nijtmans on 2012-12-05 16:56:53.
D 2012-12-05T16:56:53
J icomment Updated\sthe\s"bug-3588687"\sbranch,\strying\sto\sget\scloser\sto\sour\scommon\sgoal.\nTwo\sremarks:\n-\sI\sdon't\sthink\stcl.h\sshould\sbe\smodified,\sfor\sbinary\scompatibility\swith\n\s\solder\s8.6.x\sreleases.\sSo,\sin\sstead\sdefined\sTclInitStubs()\sin\stclInt.h,\n\s\sand\slet\sthe\slinking\soccur\sthrough\sTcl_InitStubs().\sWe\shave\sit,\sso\swhy\n\s\snot\suse\sit?\s\sIn\sTcl\s9.0\swe\scan\sthen\smake\sthe\sstep\sto\schange\n\s\sTcl_InitStubs\sto\sa\smacro.\n-\sThe\susage\sof\sTCL_MAJOR_VERSION\sand\sTCL_VERSION\sin\stclStubLib.c\n\s\shinders\sthe\sadoption\sof\sa\sversion-less\sstub\slibrary.\sI\swas\sunder\sthe\n\s\simpression\sthat\sthe\stcl\sversion\sshould\sbe\sbrought\sin\sthrough\stcl.h\sand\n\s\sthat\stclStubLib.c\sshould\snot\sreference\sTCL_VERSION\snor\n\s\sTCL_MAJOR_VERSION.\sSo\sI\ssuggest\sto\sremove\sthe\scheck\sin\n\s\sHasStubSupport(),\sin\sstead\scheck\sfor\stclversion[0]\s==\sversion[0]\n\s\sin\sTclInitStubs.\sStill\sthat\swould\snot\sbe\s100%\sas\sdesired,\sbut\n\s\sat\sleast\sthe\sstub\slibrary\sthen\sbecomes\scompletely\sindependant\n\s\sfrom\stcl.h.\sIn\sTcl\s9.0\swe\scould\srename\stclstub9.0.a\sto\stclstub.a\n\s\s(and\schange\stcl.h\sto\suse\sa\smacro),\sand\s\sthis\sstub\slibrary\swould\n\s\sbe\susable\sfor\sTcl\s8.6\s(using\sTcl_InitStubs),\s9.0,\s9.1\s...\s(using\n\s\sTclInitStubs)\n\nWouldn't\sthat\sbe\sbetter\s(although\swe\saren't\sthere\syet)?\sFeedback\sappreciated!\n
J login nijtmans
J mimetype text/plain
J username nijtmans
K 3588687fffffffffffffffffffffffffffffffff
U nijtmans
Z b95b84229e82f3fcc6d58c72b6bd08d8