Artifact
0e22c8c9271bee0c988a790adc1aa02d9dcd3002c5286b72a3a85a4d564848eb:
Ticket change
[0e22c8c927]
- New ticket [9dfae3413d]
interp limit commands still seems to be 32 bits.
by
sbron
2025-06-25 20:47:02.
D 2025-06-25T20:47:02.499
J assignee nobody
J closer nobody
J cmimetype text/x-markdown
J comment After\srunning\sfor\squite\ssome\stime,\ssome\sinterp\sin\smy\sprogram\shas\sexecuted\s2147000000.\sAs\sthe\sinterp\sdoesn't\sseem\sto\sbe\smisbehaving,\sI\swould\slike\sto\sincrease\sits\scommand\slimit\sby\sanother\s1000000.\sThat\sresults\sin\san\serror:\s"command\slimit\svalue\smust\sbe\sat\sleast\s0"\r\nThis\shappened\son\sTcl\s8.6.14,\sso\sI\sthought\sto\stest\sin\sthe\slatest\s9.0\sas\sthat\schanged\s"everything"\sto\s64\sbits.\sBut\sto\smy\sdismay\sI\scould\sstill\seasily\sreproduce\sthe\serror:\r\n```\r\n%\s[interp\screate]\slimit\scommands\s-value\s2148000000\r\ncommand\slimit\svalue\smust\sbe\sat\sleast\s0```\r\n\r\nThe\smanual\spage\sfor\sTcl_LimitSetCommands()\sdoes\sindicate\sthat\scommandLimit\sis\sof\stype\sTcl_Size.\sBut\sthe\sreverse\sfunction,\sTcl_LimitGetCommands()\sis\sstill\sdocumented\sto\sreturn\san\sint.\r\n\r\nDiving\sinto\sthe\ssource\scode,\sI\ssee\sthat\sTcl_LimitGetCommands()\sactually\sreturns\sa\sTcl_Size,\sas\sI\swould\shave\sexpected.\sHowever,\sI\salso\sfind\sthat\sChildCommandLimitCmd()\scalls\sTcl_LimitSetCommands()\swith\svariable\s`limit`,\swhich\sis\sstill\san\sint!
J foundin 54eb90319d
J is_private 0
J login sbron
J priority 5\sMedium
J private_contact 8475f421649231f1e116ac602bea4537d2b027b4
J resolution None
J severity Important
J status Open
J submitter sbron
J subsystem 20.\s[interp]
J title interp\slimit\scommands\sstill\sseems\sto\sbe\s32\sbits
J type Bug
K 9dfae3413d66da5252296c923fff8a0bde59d45d
U sbron
Z 2b32e23c72ff4d1f9d79b0a9a174fea7