Overview
| Artifact ID: | 0b8d2eb1a9645ad1ca182853ff2ebdf452e67820 |
|---|---|
| Ticket: | 5bfe3de008e6f7b5863619a4f9c801d040ff5ab8
^Z appended to sourced VFS files |
| User & Date: | aspect on 2017-08-09 09:58:47 |
Changes
- icomment:
On unpatched Tcl, I see the same behaviour if [source /test/foo] is replaced with: set fd [open /test/foo r] chan configure $fd -eofchar \032 read $fd close $fd ::tcl::chan::variable always opens the channel {read write}, so of course it happens without vfs as well. The call to write can be observed by a trace on the object constructed in the proc t:c:v. I think this could be fixed in ::tcl::chan (probably in events?), but maybe it's worth the core protecting refchans that take this shortcut. - login: "aspect"
- mimetype: "text/plain"