Overview
| Artifact ID: | e337fdcc242fcbc76a576323f90ff5de716ae01d |
|---|---|
| Ticket: | 3545365fffffffffffffffffffffffffffffffff
Crash in io-29.33b (no implicit flush of nonblocking on exit |
| User & Date: | nijtmans on 2012-07-23 18:32:46 |
Changes
- icomment:
My suggestion would be to change the following line tclIO.c: if (chanPtr->typePtr->closeProc == TCL_CLOSE2PROC) { to: if (chanPtr->typePtr->closeProc == TCL_CLOSE2PROC && chanPtr->instanceData) { (in all Tcl 8.4, 8.5 and 8.6) Reasoning: If chanPtr->instanceData == NULL, close2Proc for sure will not be able to handle that. Would that solve the problem? - login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"