Skip to content
Tcl Source Code Artifact [33ebff35c5]
Login

Artifact [33ebff35c5]

Artifact 33ebff35c548a60583b4b6ffdf252ca2f90ecd88:

Ticket change [33ebff35c5] - New ticket [218511ffffffffff|218511ffff] <i>Close command does not return errors</i>. by nobody on 2000-10-26 01:01:30.
D 2000-10-26T01:01:30
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s787\sBug\nVersion:\s8.0.3\nSubmitDate:\s'1998-11-02'\nLastModified:\s'2000-01-12'\nSeverity:\sSER\nStatus:\sReleased\nSubmitter:\spat\nChangedBy:\shobbs\nRelatedBugIDs:\s692\nOS:\sSolaris\nOSVersion:\s2.5.1\nFixedDate:\s'2000-01-12'\nFixedInVersion:\s8.0.5\nClosedDate:\s'2000-10-25'\n\n\nReproducibleScript:\nThe\sfollowing\sline\sinside\sa\sfileevent\scallback\sfor\sreading\ninput\sfrom\sa\spipe\sfails\sto\sreturn\serror\scodes.\n\n\s\s\sset\siseerr\s[catch\s{close\s$pipefd}\serrorString]\n\nThe\siserr\svarible\sis\salways\s0\seven\sif\swe\sexplictly\sreturn\sa\nnon-zero\serror\scode\sfrom\sthe\sother\sside\sof\sthe\spipe.\s\sI\nfound\sa\swork\saround\son\sthe\sinternet\sthat\ssaid\sto\sdo\sthe\nclose\soutside\sof\sthe\sfileevent\scallback\susing\svwait\sas\sa\ntrigger.\s\sI\simplemented\sthis\sin\sa\ssimple\sexample\sand\sit\nworked.\s\sWhen\sI\simplemented\sin\sour\sproduction\scode,\sit\nfailed.\s\sTherefore\sthere\sis\ssome\sother\sreaction\sthat\sI\sam\nnot\saware\sof\sthat\sis\scausing\sthis\sto\sfail.\s\sThis\sbug\sfix\sis\ncritical\sfor\ssince\sit\smeans\sI\swill\shave\sto\sdo\ssome\sugly\nmodifications\sto\sour\scode\sto\smake\sthis\swork.\n\nHere\sare\sreferences\sto\sthe\sarticles\sthat\sreport\sthe\sbug\sand\nwork\saround.\n\nBug\sanalysis:\n\n\s\s\s\s\s\s\s\shttp://x11.dejanews.com/getdoc.xp?AN=393975232\n\nSimple\sworkaround:\n\n\s\s\s\s\s\s\s\shttp://x14.dejanews.com/getdoc.xp?AN=393246193\n\n\nObservedBehavior:\nClose\sdoen't\sreturn\serror\scodes\sinside\sfileevent\ncallback.\n\nDesiredBehavior:\nClose\sshould\sreturn\serror\scodes.\n\n\n\nThis\sworks\sagain\sin\s8.0.5.\s\n--\s12/03/1999\shobbs
J foundin obsolete:\s8.0.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 60.\sNRE\sand\scoroutines
J title Close\scommand\sdoes\snot\sreturn\serrors
J type Bug
K 218511ffffffffffffffffffffffffffffffffff
U nobody
Z cbfd8b179f0680df334461e8302f5d23