Artifacts Associated With Ticket e832d2b08
Ticket change [41c2b7acc0] (rid 135048) by anonymous on 2013-10-30 13:06:13:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
In generic/tclNotify.c, in the function Tcl_SetMaxBlockTime, checking for tsdPtr->blockTimeSet in the second if-clause is unnecessary. The current code looks as follows: if (!tsdPtr->blockTimeSet || ...) { ... tsdPtr->blockTimeSet = 1; } if (!tsdPtr->inTraversal) { if (tsdPtr->blockTimeSet) { Tcl_SetTimer(&tsdPtr->blockTime); } else { Tcl_SetTimer(NULL); } } Either tsdPtr->blockTimeSet is already 1 when we enter this function, or otherwise the first if-clause will set it to 1. Therefore, the second if-clause can simply read if (!tsdPtr->inTraversal) { Tcl_SetTimer(&tsdPtr->blockTime); } - foundin initialized to: "8.6.0"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- private_contact initialized to: "500c9a7a4e11b3ea0441850610e04006941c0cf3"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "01. Notifier"
- title initialized to: "unnecessary code in Tcl_SetMacBlockTime"
- type initialized to: "Bug"
Ticket change [8b1de0fd1a] (rid 135049) by anonymous on 2013-10-30 13:07:00:
- login: "anonymous"
- mimetype: "text/plain"
- title changed to: "unnecessary code in Tcl_SetMaxBlockTime"
Ticket change [3916336292] (rid 135607) by jan.nijtmans on 2013-11-16 21:09:08:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2456613.38135274"
- closer changed to: "jan.nijtmans"
- icomment:
Fixed in core-8-5-branch [4c14f88702] and trunk [04b08d7303]
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"