Overview
| Artifact ID: | d1a28101c0b8ac069d16cd036245a75c95f304d7 |
|---|---|
| Ticket: | 5bfe3de008e6f7b5863619a4f9c801d040ff5ab8
^Z appended to sourced VFS files |
| User & Date: | andy on 2017-08-07 01:13:18 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
[source] sets -eofchar to the single-element list ^Z, which means it is interpreted both as the input and output EOF character. When the channel is closed, the output EOF character is appended to the file. This is normally not a problem because [source] opens files read-only, but when the file is actually a [tcl::chan::variable] reflected channel inside a custom VFS, the file is writable anyway, and the ^Z is written.
- foundin changed to: "310ded6da852e49cd8d8d7f6bef2c21cd9ea9bc8"
- is_private changed to: "0"
- login: "andy"
- priority changed to: "5 Medium"
- private_contact changed to: "662c23482b0bf6a505f39e48fb7ad43af8dee4d3"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "andy"
- subsystem changed to: "45. Parsing and Eval"
- title changed to: "^Z appended to sourced VFS files"
- type changed to: "Bug"