Skip to content
Tcl Source Code View Ticket
Login

View Ticket

nre and Tcl_*CommandInfo routines

Closed / Invalid2032745fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-07-30 14:03:11
The interaction between nre and the Tcl_*CommandInfo routines is currently as follows: 
  * the Get part runs correctly and return a usable CmdInfo for direct (non-re) calling
  * the Set part leaves things in an inconsistent state when modifying the objProc of an nre-enabled command
  * the whole nre part cannot be seen or touched through this interface
msoferplain2008-08-07 08:30:43
Logged In: YES 
user_id=148712
Originator: YES

The solution is to insure that the Set routines just desable the nre part.
dkfplain2009-04-10 20:05:08
It appears that things are correct on set, with the nreProc being set to NULL if the objProc is different from the previous one. If that's not really correct, more explanation of this bug is required.

Dropping prio since it's not clear that it's wrong or something that can be guaranteed fixed by release.
dkf Ticket [2032745fff]: 1 change [History diff]2009-04-10 20:05:09
msofer Ticket [2032745fff]: 1 change [History diff]2009-05-01 08:21:44
msoferplain2009-05-09 00:54:22
allow_comments - 1

donal's comment is on target - I must have forgotten that I did this ...
Log in (anonymous is fine) to add a comment.