.
D 2000-10-26T01:01:17
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s710\sBug\nVersion:\s8.0.3\nSubmitDate:\s'1998-10-13'\nLastModified:\s'1999-12-03'\nSeverity:\sSER\nStatus:\sReleased\nSubmitter:\sadmin\nChangedBy:\shobbs\nRelatedBugIDs:\s1356\s1417\s1682\s5924\nOS:\sAll\sUnix\nFixedDate:\s'1999-12-03'\nFixedInVersion:\s8.2.3\nClosedDate:\s'2000-10-25'\n\n\nThis\sis\sa\sbug\sthat\swas\sofficially\sfixed\s\sat\s7.5p1\s(below\sis\s\san\sentry\nin\sthe\s'changes'\sfile:)\n\n\s\s6/10/96\s(bug\sfix)\sChanges\sthe\sTcl\sclose\scommand\sso\sthat\sit\sno\slonger\n\s\swaits\son\snonblocking\spipes\sfor\sthe\spiped\sprocesses\sto\sexit;\sinstead\sit\n\s\sreaps\sthem\sin\sthe\sbackground.\s(JL)\n\nToday,\s8.0.3,\sat\sleast\son\s\sSolaris\sand\sNT,\sbut\sI\sthink\salso\severywhere\nelse,\sthe\sfollowing\scode\sblocks\son\sclose:\n\n\s\s\s\s\s\s\s\sset\sf\s[open\s"|cmd"\sr]\n\s\s\s\s\s\s\s\sfconfigure\s$f\s-blocking\s0\n\s\s\s\s\s\s\s\sclose\s$f\n\n(where\scmd\sis\ssomething\sthat\ssleeps,\swriting\snothing,\se.g.\ssleep\s9999)\n\nSo\s\sthe\s\sproblem\s\sis\s\swhat's\s\scalled\s\s'reaping\s\sin\s\s\sthe\s\sbackground'.\nApparently\s(looking\sat\sthe\ssource)\sit\sis\sdone\sin\sforeground.\n\n\sNote\sanyway\sthat\s\son\sunix\s\sat\s\sleast,\sall\sthis\sis\s\shandled\sin\s\sa\svery\nstrange\sway.\s\sA\smore\snatural\s\simplementation\swould\sregister\s\sa\sSIGCHLD\nhandler\swhich\swould\s*then*\strigger\sthe\sreaping.\n\n\n4/17/99\s-\sredman\s-\sconfirmed\son\sNT\swith\s8.1b3+.\s\sThe\sclose\sis\swaiting\sfor\sthe\sprocess\sto\scomplete.\n\n>My\svote:\s\salthough\sit's\san\sannoying\slittle\sproblem,\n>it's\sbeen\sthere\sfor\sa\swhile\sand\swill\stake\stoo\smuch\n>time\sto\sfix\sfor\s8.1.\s\sMaybe\swe\scan\sget\sto\sthese\sin\n>8.1.1.\s--\sScott\sR.\n\nConfirmed\swith\s8.2\son\sSol7.\s\n--\s10/21/1999\shobbs\n\nAdding\n\s\s\s\spsPtr->isNonBlocking\s=\s(mode\s==\sTCL_MODE_NONBLOCKING);\nbefore\sthe\sreturn\sin\sunix/tclUnixPipe.c:PipeBlockModeProc\nseems\sto\ssolve\sthe\sproblem.\s\n--\s11/29/1999\shobbs\n\n
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\swaits\sfor\sprocess\sto\scomplete\s(should\sreap\sin\sbackgrou
J type Bug
K 218492ffffffffffffffffffffffffffffffffff
U nobody
Z efc29b355b428b66bd43e504bf2e03f6