Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ffa0e55ca18ab0b2d5b8a8801c3d749c30fcec0099f660e5d49f1aa1d388dfbf
Ticket: 0df5906dd7e4beb33712ed51437ebb4369c3c101
Error-handling when stderr is in "strict" profile
User & Date: jan.nijtmans on 2023-09-28 15:18:56
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    Example:
    <pre>
    $ tclsh8.7
    % fconfigure stderr -profile strict
    % set env(abc\ud800)
    can't read "env(abc
    %
    </pre>
    
    The expected output would be something like:
    <pre>
    % set env(abc\ud800)
    can't read "env(abc\ud800)": no such variable
    </pre>
    
    But, what happens is that \ud800 is an illegal character in the strict profile, so the stderr output is truncated there.
    
    At least, the stderr output should indicate what's going on here
    
  5. foundin changed to: "8.7/9.0"
  6. is_private changed to: "0"
  7. login: "jan.nijtmans"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "jan.nijtmans"
  14. subsystem changed to: "26. Channel Transforms"
  15. title changed to: "Error-handling when stderr is in "strict" profile"
  16. type changed to: "Bug"