<i>Tcl_InitStubs() Broken As Designed</i> status still Open with 4 other changes
by
.
D 2012-12-07T22:06:29
J icomment Using\s'make\sshell`\son\snovem\sbranch,\shere's\nthe\sresult\sof\s[load]ing\sthe\supdated\spkgb.so\sfiles\non\sthe\strunk\sand\sbug-3588687\sbranches:\n\n%\sload\spath/to/bug-3588687/pkgb.so\nversion\sconflict\sfor\spackage\s"Tcl":\shave\s9.0a0,\sneed\s8\n%\sload\spath/to/trunk/pkgb.so\n%\spkgb_demo\nmake:\s***\s[shell]\sSegmentation\sfault\n\nThe\s[pkgb_demo]\scommand\scalls\nTcl_GetDefaultEncodingDir()\swhich\shas\sbeen\nremoved\sfrom\sthe\snovem\sstubs\stable,\scausing\nthe\scrash.\s\sThe\sbug\sfix\son\sbug-3588687\sprevents\nthis\scrash\sfrom\shappening\sby\spreventing\sthe\s[load]\nof\sthe\sunsupportable\sextension.\n\nNow\syou\smay\sobject\sTcl_GetDefaultEncodingDir\nisn't\sin\sthe\sTcl\s9\sAPI!\s\sSo\sit's\sa\sbug\sfor\spkgb.c\sto\nbe\spassing\s"8.5-9.1"\sto\sTcl_InitStubs().\s\sTwo\sreplies:\n\n1)\sI\ssubmit\sthat\sTcl_EvalEx()\swith\san\sint\snumBytes\sargument\n\s\s\s\sis\slikewise\snot\sin\sthe\sTcl\s9\sstubs\sAPI.\s\sSo\sthis\sis\sjust\sthe\ssame\n\s\s\s\sbug\salready\sdemonstrated.\s\sExcept\sthis\snew\stest\smakes\sclear\n\s\s\s\sthis\sis\snot\ssome\sproblem\sthat\sonly\sshows\sup\sin\sa\s64-bit\sscenario.\n\s\s\s\sIt's\simplicit\sin\sthe\sfreedom\sto\schange\sthe\sstubs\stables\sincompatibly\n\s\s\s\son\sa\snew\smajor\sversion\sof\sTcl.\n2)\sEven\sif\sit\sis\sa\sbug,\sthe\scommon\stheme\sin\smuch\sof\sthis\sdiscussion\sis\n\s\s\s\s\show\smuch\sbetter\sit\sis\sto\sreact\sto\sa\sbug\swith\san\serror\smessage,\sor\seven\n\s\s\s\s\sa\scontrolled\spanic,\srather\sthan\sa\scrash.\n\n
J login dgp
J mimetype text/plain
J username dgp
K 3588687fffffffffffffffffffffffffffffffff
U dgp
Z 136d06c782cb520609e59d722f7bcfe4