Skip to content
Tcl Source Code Artifact [2a576668f9]
Login

Artifact [2a576668f9]

Artifact 2a576668f922223228f83115af72bbc254f31354:

Ticket change [2a576668f9] - Ticket [3588687fffffffff|3588687fff] <i>Tcl_InitStubs() Broken As Designed</i> status still Open with 4 other changes by dgp on 2012-11-29 01:04:01.
D 2012-11-29T01:04:01
J icomment \nAh,\sthanks.\s\sSomething\selse\sto\sclarify.\n\nI'm\saiming\sthis\spatch\sat\sbridging\sthe\stransition\sto\nthe\snovem-remove-string-result\sbranch.\sI'm\snot\saiming\nat\sthe\sstubs\schanges\sthat\sare\scurrently\son\sthe\stip\sof\nthe\snovem\sbranch.\n\nI\sdon't\ssee\sthe\sneed\sto\schange\sthe\sTCL_STUBS_MAGIC\svalue\nto\smake\sthe\s8->9\stransition.\s\sThe\sfunctioning\sof\sthe\nTcl_PkgRequireEx()\sroutine\sin\sthe\sfirst\sstubs\sslot\sis\nenough\sto\smanage\sthe\sversion\schecking.\s\sThe\sconstraint\nthat\sTcl\s9\shas\sto\skeep\sthat\sentry,\sand\skeep\sit\sfirst\sin\sthe\nstubs\stable\sis\sa\sreasonable\sone,\sI\sthink.\n\nI\salso\ssee\sno\sneed\sto\shave\sa\sTCL_STUBS_MAGIC\svalue\nthat\sdepends\son\ssizeof(size_t).\s\sIf\sa\s[load]ing\sprogram\sand\na\s[load]ed\sextension\sdon't\sagree\sat\sthat\slevel,\sI\sbelieve\sthat\nthe\sdlopen()\sor\sequivalent\sroutine\swill\sdetect\sthat\sand\sfail\slong\nbefore\sour\sstubs\schecking\smechanisms\sare\sever\scalled\son.\n\nThat\ssaid,\syes\sI\sagree\sthat\sif\swe\skeep\sa\sTcl_InitStubs()\sfunction\nto\soffer\slinkability\sof\sall\slibtclstubs8*.a\slibraries,\swe\sshould\suse\na\sliteral\svalue\s8\sfor\sthe\sargument\sinstead\sof\sTCL_MAJOR_VERSION.\n\n
J login dgp
J mimetype text/plain
J username dgp
K 3588687fffffffffffffffffffffffffffffffff
U dgp
Z d706e9076ab894b752769ba21c15e61e