Skip to content
Tcl Source Code History Of Ticket 6de8494984e49b052d3ad82b8cd7e900b67274b3
Login

History Of Ticket 6de8494984e49b052d3ad82b8cd7e900b67274b3

Artifacts Associated With Ticket 6de8494984e49b052d3ad82b8cd7e900b67274b3

  1. Ticket change [11203e8a83] (rid 174073) by ralfixx on 2019-08-14 13:18:01:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      [https://www.tcl.tk/man/tcl/TclLib/OpenFileChnl.htm#M7]
      states for Tcl_OpenCommandChannel():
      
      <pre>
        If an error occurs while opening the channel, [...] In addition, 
        Tcl_OpenCommandChannel leaves an error message in the interpreter's
        result if interp is not NULL. 
      </pre>
      
      The code in generic/TclPipe.c however states that interp cannot be NULL:
      
      <pre>
        Tcl_Channel
        Tcl_OpenCommandChannel(
            Tcl_Interp *interp, /* Interpreter for error reporting. Can NOT be NULL. */
      </pre>
      
      And indeed, calling Tcl_OpenCommandChannel(NULL, ...) dumps core in case of an error when opening the pipeline (e.g. command not found).
      
      => Documentation should be adjusted: "interp cannot be NULL".
      
    5. foundin initialized to: "8.6.9"
    6. is_private initialized to: "0"
    7. login: "ralfixx"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "1d3c95db24e116878d6afed7cf890a89a0effe62"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "ralfixx"
    14. subsystem initialized to: "24. Channel Commands"
    15. title initialized to: "Tcl_CreateCommandChannel() documentation bug"
    16. type initialized to: "Bug"
  2. Ticket change [4814315893] (rid 174123) by jan.nijtmans on 2019-08-15 08:10:37:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2458710.84071054"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      Fixed now in all active branches.
      
      Thanks!
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"