Skip to content
Tcl Source Code Artifact [ab55f6f090]
Login

Artifact [ab55f6f090]

Artifact ab55f6f090c84ad41cfe5b5d488c4495c315427b:

Ticket change [ab55f6f090] - New ticket [627552ffffffffff|627552ffff] <i>bad pipe error message</i>. by nobody on 2002-10-23 15:43:11.
D 2002-10-23T15:43:11
J assignee dkf
J cmimetype text/plain
J comment tclpipe.c\nFileForRedirect\n\n<@\schannel-without-handle\n\n\n\s\s\s\s\s\s\s\schan\s=\sTcl_GetChannel(interp,\sspec,\sNULL);\n\s\s\s\s\s\s\s\sif\s(chan\s==\s(Tcl_Channel)\sNULL)\s{\n\s\s\s\s\s\s\s\s\s\s\s\sreturn\sNULL;\n\s\s\s\s\s\s\s\s}\nfile\s=\sTclpMakeFile(chan,\swriting\s?\sTCL_WRITABLE\s:\nTCL_READABLE);\n\s\s\s\s\s\s\s\sif\s(file\s==\sNULL)\s{\n\s\s\s\s\s\s\s\s\s\s\s\sTcl_AppendResult(interp,\s"channel\s\\"",\nTcl_GetChannelName(chan),\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"\\"\swasn't\sopened\sfor\s",\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s((writing)\s?\s"writing"\s:\n"reading"),\s(char\s*)\sNULL);\n\s\s\s\s\s\s\s\s\s\s\s\sreturn\sNULL;\n\s\s\s\s\s\s\s\s}\n\non\sunix\s\sTclpMakeFile\swill\sreturn\snil\sif\sthe\schannel\nhas\sno\shandle\nand\snot\sjust\sbcause\sit\swasnt\sreadable\nleading\san\sincorrect\sand\svery\sconfusing\serror\smessage\n\nthe\scode\sshould\sbe\ssomething\scloser\sto\n\n\s\s\s\s\s\s\schan\s=\sTcl_GetChannel(interp,\sspec,\s&mode);\n\s\s\s\s\s\sif\s(!((writing\s?\sTCL_WRITABLE\s:\nTCL_READABLE)&mood))\s{\n\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_AppendResult(interp,\s"channel\s\\"",\nTcl_GetChannelName(chan),\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"\\"\swasn't\sopened\sfor\s",\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s((writing)\s?\s"writing"\s:\n"reading"),\s(char\s*)\sNULL);\n\s\s\s\s\s\s\s\s\s\s\s\sreturn\sNULL;\n\s\s\s\s}\nfile\s=\sTclpMakeFile(chan,\swriting\s?\sTCL_WRITABLE\s:\nTCL_READABLE);\n\s\s\s\s\s\s\s\sif\s(file\s==\sNULL)\s{\n\s\s\s\s\s\s\s\s\s\s\s\sTcl_AppendResult(interp,\s"channel\s\\"",\nTcl_GetChannelName(chan),\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"\\"\s\ssome\skind\sof\smessage\sabout\npipe\scant\sdeal\swith\sthis\skind\sof\schannel",\s(char\s*)\sNULL);\n\s\s\s\s\s\s\s\s\s\s\s\sreturn\sNULL;\n\s\s\s\s\s\s\s\s}\n
J foundin obsolete:\s8.4.0
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 18.\sCommands\sM-Z
J title bad\spipe\serror\smessage
J type Bug
K 627552ffffffffffffffffffffffffffffffffff
U nobody
Z 1147196b0a10089f7750a2c70b5e99ec