From: <no...@so...> - 2001-12-06 21:16:00
|
Bugs item #484023, was opened at 2001-11-20 19:09 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=484023&group_id=10894 Category: 26. Channel Types Group: 8.4a4 Status: Open Resolution: None Priority: 5 Submitted By: David Gravereaux (davygrvy) Assigned to: Andreas Kupries (andreas_kupries) Summary: small Tcl_MakeFileChannel issue Initial Comment: :Windows If you create a namedpipe which only uses one handle for both read and write and give it to Tcl_MakeFileChannel(), a problem arises when the channel is closed because the close2proc is set to think read and write are 2 different handles and closes each of them. This goes *boom* :) Attached is a patch that I think fixes this. The core does not used namedpipes anywhere, but I found this issue while working on Expect. ---------------------------------------------------------------------- >Comment By: Andreas Kupries (andreas_kupries) Date: 2001-12-06 13:10 Message: Logged In: YES user_id=75003 Do we have tests in the testsuite with which we can check that that this change does not break things ? I looked at it and do not believe that it does break anythings, but I would like to check. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=484023&group_id=10894 |