Overview
| Artifact ID: | ca87c504c4a617511251b0af7a2d09353724d5eb |
|---|---|
| Ticket: | 5bfe3de008e6f7b5863619a4f9c801d040ff5ab8
^Z appended to sourced VFS files |
| User & Date: | aspect on 2017-08-14 09:16:40 |
Changes
- icomment:
Agreed on the last point - vfs should provide "r" in this instance, as documented. One further thought: the behaviour exhibited with [source] is happens on regular fs/chans as well. Is this really correct? set fd [open test w] puts $fd test close $fd puts [file size test] ;# "5" set fd [open test r+] chan configure $fd -eofchar "{} \x1a" seek $fd 0 end close $fd puts [file size test] ;# "6" file delete test In the second part it has been opened rw, but simply seeking to the end is enough to append eofchar. Can that really be right? - login: "aspect"
- mimetype: "text/plain"