.
D 2024-02-03T14:36:50.693
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-plain
J comment While\sinvestigating\s[fe4d7305a8],\swhich\shas\sbeen\sfixed,\sI\sfound\sanother\sbug.\r\n\r\n::history\sis\sa\sproc\sthat\scalls\sthe\sbinary\scommand\s::tcl::history.\s\sIf\s::history\sis\srenamed\sor\sdeleted,\sthe\sinterpreter\sregenerates\sthe\sproc\s::history\sso\sthat\sthe\simmediate\scall\sof\s::history\sto\srecord\sthe\shistory\sdoes\snot\sfail.\r\n\r\nIdeally\sthe\suser\swould\sbe\sable\sto\sredefine\sproc\s::history,\sto\sprovide\san\salternative\sto\sthe\sTcl\sbuilt-in\scommand.\s\sHowever,\sthe\sattempt\scauses\sthe\sinterpreter\sto\scease\sfunctioning,\seven\sif\sthe\snew\sproc\sis\sidentical\sto\sthe\sold.\s\sThe\sinterpreter\sappears\sto\senter\sa\stight\sCPU-consuming\sloop,\swhile\snever\sreaching\sthe\spoint\swhere\sit\scan\saccept\sanother\scommand.
J foundin 8.6.13,\s8.7
J is_private 0
J login kjnash
J priority 5\sMedium
J private_contact a774b1f5653dc3360e29ea7d635a64e94c9f1dab
J resolution None
J severity Minor
J status Open
J submitter kjnash
J subsystem 19.\s[history]
J title Redefining\sproc\s::history\slocks\sthe\sinterpreter\sinto\sa\stight\sloop
J type Bug
K 8e666d7c956372d0df195e27d36a53fdbad9164d
U kjnash
Z 1874e897c4f68a0fccb854dee38fe316