Overview
| Artifact ID: | 7635584924dce9596ca4139f734e57c8147bb646 |
|---|---|
| Ticket: | 3518244fffffffffffffffffffffffffffffffff
documentation for OPENFILECHANNELPROC may lead to bugs |
| User & Date: | lobotomy642 on 2012-04-15 18:19:24 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed to:
Hello, At current time, the section in the man page about the FileSystem's callback function "openFileChannelProc" can lead to bugs, as the paragraph suggests we should register the channel in the interpreter with "RegisterChannel"; this is not the case as this can lead to crash in some use cases ("called Tcl_Close on channel with refCount > 0"), and the TclLib's function "Tcl_FSOpenFileChannel" states that this has to be done by its caller. I propose the attached patch to the man page to remove the possible misunderstanding. - foundin changed to: "obsolete: 8.5.11"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "lobotomy642"
- subsystem changed to: "37. File System"
- title changed to:
documentation for OPENFILECHANNELPROC may lead to bugs
- type changed to: "Bug"