Overview
| Artifact ID: | 69a32f3b065ff4a73a365d711ed20a9940835273 |
|---|---|
| Ticket: | 5bfe3de008e6f7b5863619a4f9c801d040ff5ab8
^Z appended to sourced VFS files |
| User & Date: | dgp on 2017-08-08 18:03:38 |
Changes
- icomment:
I looked through the Tcl source code. Tcl_FSEvalFileEx() opens the file with Tcl_FSOpenFileChannel(interp, pathPtr, "r", 0644) which should be a read-only open. The various channel close pathways only append the outEofChar to the channel if it exists and if the channel is TCL_WRITABLE. Unless there's something I miss, the only way trouble can show up is if some Tcl_ChannelType is coded wrong so that when it is open read only it still sets the TCL_WRITABLE flag. Is that Tcl_ChannelType in Tcl?
- login: "dgp"
- mimetype: "text/plain"