Tcl Source Code

Artifact Content
Login
Bounty program for improvements to Tcl and certain Tcl packages.

Artifact 11203e8a83616d09e860f745f3d23a5a3cc504e53a780b33091fc284dfc773c7:

Ticket change [11203e8a83] - New ticket [6de8494984] Tcl_CreateCommandChannel() documentation bug. by ralfixx 2019-08-14 13:18:01.
D 2019-08-14T13:18:01.974
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment [https://www.tcl.tk/man/tcl/TclLib/OpenFileChnl.htm#M7]\r\nstates\sfor\sTcl_OpenCommandChannel():\r\n\r\n<pre>\r\n\s\sIf\san\serror\soccurs\swhile\sopening\sthe\schannel,\s[...]\sIn\saddition,\s\r\n\s\sTcl_OpenCommandChannel\sleaves\san\serror\smessage\sin\sthe\sinterpreter's\r\n\s\sresult\sif\sinterp\sis\snot\sNULL.\s\r\n</pre>\r\n\r\nThe\scode\sin\sgeneric/TclPipe.c\showever\sstates\sthat\sinterp\scannot\sbe\sNULL:\r\n\r\n<pre>\r\n\s\sTcl_Channel\r\n\s\sTcl_OpenCommandChannel(\r\n\s\s\s\s\s\sTcl_Interp\s*interp,\s/*\sInterpreter\sfor\serror\sreporting.\sCan\sNOT\sbe\sNULL.\s*/\r\n</pre>\r\n\r\nAnd\sindeed,\scalling\sTcl_OpenCommandChannel(NULL,\s...)\sdumps\score\sin\scase\sof\san\serror\swhen\sopening\sthe\spipeline\s(e.g.\scommand\snot\sfound).\r\n\r\n=>\sDocumentation\sshould\sbe\sadjusted:\s"interp\scannot\sbe\sNULL".
J foundin 8.6.9
J is_private 0
J login ralfixx
J priority 5\sMedium
J private_contact 1d3c95db24e116878d6afed7cf890a89a0effe62
J resolution None
J severity Minor
J status Open
J submitter ralfixx
J subsystem 24.\sChannel\sCommands
J title Tcl_CreateCommandChannel()\sdocumentation\sbug
J type Bug
K 6de8494984e49b052d3ad82b8cd7e900b67274b3
U ralfixx
Z d72d88179621a3e25104bd890b9d7585