Skip to content
Tcl Source Code Artifact [58ddbf1907]
Login

Artifact [58ddbf1907]

Artifact 58ddbf19074aad84666d5808e594cc6adb6ef37d:

Ticket change [58ddbf1907] - Ticket [3588687fffffffff|3588687fff] <i>Tcl_InitStubs() Broken As Designed</i> status still Open with 4 other changes by nijtmans on 2012-11-20 15:10:19.
D 2012-11-20T15:10:19
J icomment Thanks,\sDon,\sfor\sthis\sclear\sdescription.\n\nRegarding\sthe\ssecond\spoint,\sthe\sTCL_STUBS_MAGIC\svalue\sbuilt-in\nthe\sstubs\slibrary,\sthat's\scompletely\sright.\sI\salready\sdid\swork\son\nthis\sin\sthe\s"novem"\sbranch\swhich\sIMHO\scorrects\sthat,\sbut\sfeedback\nis\swelcome.\n\n>What's\simportant\sis\sthat\sthe\stable\sin\siPtr->stubTable\shas\sa\scompatible\n>layout\sto\sthe\sone\sthat\swas\scompiled\sinto\sthe\sextension.\sBut\sthe\n>mechanism\sin\splace\scannot\scheck\sthis\nYes,\sthat's\sa\sproblem.\sSo,\slet's\sput\sa\smechanism\sin\splace\sto\scheck\sthis.\n\nYour\slast\spoint,\sthe\sversion\sargument,\sthe\sproblem\snow\sis\sthat\nTcl_InitStubs(interp,\s"9.0",\s0)\sreturns\sfalse\swhen\scalled\sin\sa\s"8.6"\ninterpreter.\sThis\smeans\sthat\s8.x\sextensions\scannot\sbe\sused\nin\sa\s9.0\sinterpreter.\sI\sdon't\shave\san\simmediate\ssolution\sfor\sthat.\nEasiest\sis\sto\slet\sextesions\suse\sTcl_InitStubs(interp,\s"8.6+",\s0)\nif\sthey\swant\sto\sindicate\sthat\sthey\scan\srun\sunder\sboth\s8.6\nand\s9.0,\sbut\sthat\scould\s-\sat\sbest\s-\sonly\swork\son\s32-bit\splatforms.\n64-bit\splatforms\sshould\shave\sa\sdifferent\sMAGIC\svalue,\ngiven\sthe\sbig\sreform\sthat\sis\sbeing\sworked\son\snow\sby\sdkf.\n\nRegards,\n\s\s\s\s\s\s\s\sJan\sNijtmans\n\n
J login nijtmans
J mimetype text/plain
J username nijtmans
K 3588687fffffffffffffffffffffffffffffffff
U nijtmans
Z d506ced40ed604d09e004f304f027f64