Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d1a28101c0b8ac069d16cd036245a75c95f304d7
Ticket: 5bfe3de008e6f7b5863619a4f9c801d040ff5ab8
^Z appended to sourced VFS files
User & Date: andy on 2017-08-07 01:13:18
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. 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.
    
  5. foundin changed to: "310ded6da852e49cd8d8d7f6bef2c21cd9ea9bc8"
  6. is_private changed to: "0"
  7. login: "andy"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "662c23482b0bf6a505f39e48fb7ad43af8dee4d3"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "andy"
  14. subsystem changed to: "45. Parsing and Eval"
  15. title changed to: "^Z appended to sourced VFS files"
  16. type changed to: "Bug"