eval after script cancellation does not work
Open2114165fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-09-16 13:18:58
Using Tcl_EvalObjEx after a previous to Tcl_CancelEval is no longer working (it always returns "eval canceled"). I believe this is due to a lack of a TclResetCancellation call in that code path (which also used to manage iPtr->numLevels). There may be other code paths that suffer from this problem also?
msoferplain2008-09-16 22:57:21
The testsuite seems to be happy enough (on linux). Could you please post sample code? It will help tracing the code path that is misbehaving.
msofer Ticket [2114165fff]: 1 change
[History diff]2008-09-16 22:57:22
msoferplain2008-09-17 07:33:56
Fixed in HEAD; leaving open as reminder to add tests
mistachkinplain2008-09-17 09:23:51
There was another small issue (unrelated to the NRE). The TclResetCancellation call in tclParse.c needs to be after the numLevels is reduced (on the way out) so that it follows the TIP and matches what is done in Tcl_EvalObjEx, et al.
Log in (anonymous is fine) to add a comment.