<i>Tcl_InitStubs() Broken As Designed</i> status still Open with 4 other changes
by
.
D 2012-12-07T17:12:10
J icomment I\snow\sturned\spkgb.so\sin\score-8-5-branch\sand\strunk\sinto\sa\nTcl9\sinteroperability\stest.\sAnd\sclosed\sthe\s"novem-support"\sbranch.\n\nTcl_InitStubs(interp,\s"8.6\s9",\s0)\sunfortunately\sdoesn't\swork,\sit\sleads\nto\sa\scrash.\sThat\smust\sbe\sa\sbug\ssomewhere\sin\stclPkg.c.\sLuck\nenough,\s"8.6-9.1"\sworks,\sand\sthat's\sgood\senough\sfor\sthis\stest.\n\nNow\sthe\schallenge\sis\sthat\spkgb.so\sloaded\sin\sany\sTcl\sinterpreter\nshould\seither\sgive\san\serror\smessage,\seither\ssucceed,\sbut\nnever\scrash.\sOn\s32-bit\splatforms\sthat's\sno\sproblem:\sThe\nsignature\sof\sthe\sused\sAPI\swill\sat\smost\schange\ssome\sparameters\nfrom\sint\sto\ssize_t,\sbut\sthey\sall\sare\sthe\ssame\ssize.\sOn\s64-bit\nplatforms\sI\ssee\sno\sother\ssolution\sthan\sto\schange\sthe\sMAGIC\nvalue.\n
J login nijtmans
J mimetype text/plain
J username nijtmans
K 3588687fffffffffffffffffffffffffffffffff
U nijtmans
Z 350f9544dd0ba535df0a33b7468bd7d2