.
D 2023-04-11T22:49:40.250
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment A\stestcase\sshowing\sthe\sproblem\sis\spkgt.c,\sin\sthe\sunix/dltest\sdirectory\r\n\r\nThis\sfunction\sdoes:\r\n<pre>\r\n\s\s\s\sTcl_CreateObjCommand2(interp,\s"pkgt_eq",\sPkgt_EqObjCmd2,\sNULL,\sNULL);\r\n\s\s\s\sTcl_CreateObjTrace2(interp,\s0,\s0,\sTraceProc2,\sNULL,\sNULL);\r\n</pre>\r\n\r\nThe\s"2"\sAPI\sis\ssupposed\sto\sregister\s64-bit\scapable\scommands/traces.\sBut\swith\sTIP\s#660,\sthe\stypes\sare\susing\sTcl_Size,\swhich\sis\s"int"\swhen\scompiled\sfor\sTcl\s8.7.\sThat\sdoesn't\smatch\sthe\s8.7\sversion\sof\stcl.h.\sSo,\sthe\sfunctions\sregistered\shave\sthe\swrong\ssignature\sthen.\sSolution:\sthe\stypedefs\sfor\sTcl_CmdObjTraceProc2\sand\sTcl_ObjCmdProc2\sshould\suse\sptrdiff_t,\snot\sTcl_Size
J is_private 0
J login jan.nijtmans
J priority 5\sMedium
J private_contact 0c50e5320704d174412e57b873d8932de15303e0
J resolution None
J severity Severe
J status Open
J submitter jan.nijtmans
J subsystem -\sNew\sBuiltin\sCommands
J title TIP\s#660\sbreaks\sTIP\s#628/#630
J type Bug
K 0b9200888e2fd6dd14fee5fc8471f6e8cb864a96
U jan.nijtmans
Z cb340fd1e58933f0b0a54ecdcf83260b