The 8.0.3 code is I believe correct. Tcl needs to protect channels
around fileevent callbacks, and needs to complete of any channels that were
closed in the callback once the channel is no longer needed by the code that
dispatches the event.
I use Tnm 3.0.0 980501 and have not yet run into the problem you
describe could be a little more specific as to were in the Tnm code the
problem arises.
The best fix is to also call Tcl_RegisterChannel((Tcl_Interp *)NULL,
channel) in your code, and call Tcl_UnregisterChannel() instead of
Tcl_Close() to close the channel.
--
Viktor.
-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.