<i>Channel buffering affects [close] status</i> status still Open with 4 other changes
by
.
D 2001-07-13T05:16:15
J icomment Logged\sIn:\sYES\s\nuser_id=80530\n\nThanks\sfor\sincluding\sthe\stest\sscripts.\s\sThey\shelp\sa\slot.\n\nNow\sthe\sbad\snews.\s\sYour\stest\sscripts\sfail\son\sall\sreleases\nof\sTcl\sthat\sI've\stested:\n\n$\stclsh7.6\n%\ssource\st.tcl\n%\sworks\nchild.c\s:\sAbout\sTo\sExit\sNonZero...\n<<>>Got\sEOF\son\sfile3\n\s\s\s\s\s\s\s\sSet\sFioStatus\sto\s1\sfrom\scatch\sof\sclose\n\s\s\s\s\s\s\s\serrorCode:$::errorCode\ncan't\swait\sfor\svariable\s"::PtiExec(FioDone)":\s\swould\swait\nforever\n%\sfails\nchild.c\s:\sAbout\sTo\sExit\sNonZero...\n<<>>Got\sEOF\son\sfile3\n\s\s\s\s\s\s\s\sSet\sFioStatus\sto\s1\sfrom\scatch\sof\sclose\n\s\s\s\s\s\s\s\serrorCode:$::errorCode\ncan't\swait\sfor\svariable\s"::PtiExec(FioDone)":\s\swould\swait\nforever\n%\sexit\n\n$\stclsh8.0\n%\sinfo\spatch\n8.0.5\n%\ssource\st.tcl\n%\sworks\nchild.c\s:\sAbout\sTo\sExit\sNonZero...\n<<>>Got\sEOF\son\sfile3\n\s\s\s\s\s\s\s\sSet\sFioStatus\sto\s1\sfrom\scatch\sof\sclose\n\s\s\s\s\s\s\s\serrorCode:CHILDSTATUS\s16053\s33\nPtiExec(FioStatus):1\n%\sfails\nchild.c\s:\sAbout\sTo\sExit\sNonZero...\n<<>>Got\sEOF\son\sfile3\n\s\s\s\s\s\s\s\sSet\sFioStatus\sto\s1\sfrom\scatch\sof\sclose\n\s\s\s\s\s\s\s\serrorCode:CHILDSTATUS\s16054\s33\nPtiExec(FioStatus):1\n%\sBlocking\schannel\sdriver\sdid\snot\sblock\son\sinput\nAbort\n\n$\stclsh8.1\n%\sinfo\spatch\n8.1.1\n%\ssource\st.tcl\n%\sworks\nchild.c\s:\sAbout\sTo\sExit\sNonZero...\n<<>>Got\sEOF\son\sfile3\n\s\s\s\s\s\s\s\sSet\sFioStatus\sto\s1\sfrom\scatch\sof\sclose\n\s\s\s\s\s\s\s\serrorCode:CHILDSTATUS\s16057\s33\nPtiExec(FioStatus):1\n%\sfails\nchild.c\s:\sAbout\sTo\sExit\sNonZero...\n<<>>Got\sEOF\son\sfile3\n\s\s\s\s\s\s\s\sSet\sFioStatus\sto\s1\sfrom\scatch\sof\sclose\n\s\s\s\s\s\s\s\serrorCode:CHILDSTATUS\s16058\s33\nPtiExec(FioStatus):1\n%\s$\n\nNote\sthat\sthe\sscript\saborts\stclsh8.1,\sbut\sthere\sis\sno\npanic\smessage\sthis\stime.\s\sThis\ssame\sbehavior\sis\salso\nobserved\sin\s8.2.0\sand\s8.2.1\sand\s8.2.2.\n\nThen\sin\s8.2.3:\n\n$\stclsh8.2\n%\sinfo\spatch\n8.2.3\n%\ssource\st.tcl\n%\sworks\nchild.c\s:\sAbout\sTo\sExit\sNonZero...\n<<>>Got\sEOF\son\sfile3\n\s\s\s\s\s\s\s\sSet\sFioStatus\sto\s1\sfrom\scatch\sof\sclose\n\s\s\s\s\s\s\s\serrorCode:CHILDSTATUS\s25060\s33\nPtiExec(FioStatus):1\n%\sfails\nchild.c\s:\sAbout\sTo\sExit\sNonZero...\n<<>>Got\sEOF\son\sfile3\n\s\s\s\s\s\s\s\sSet\sFioStatus\sto\s0\sfrom\scatch\sof\sclose\n\s\s\s\s\s\s\s\serrorCode:CHILDSTATUS\s25060\s33\nPtiExec(FioStatus):0\n%\s$\n\nNow\sthe\s[close]\sdoesn't\sthrow\san\serror,\swhich\sseems\sto\nbe\sthe\sbug\syou\sare\sreporting,\sso\sthat\smisbehavior\sfirst\nshowed\sup\sin\sTcl\s8.2.3,\sbut\snotice\sthe\stclsh\sstill\saborts!\n\nThat\sbehavior\sis\salso\sexhbited\sby\s8.3.3\sand\s8.4a3,\sand\sI'm\nassuming\salso\sall\sthe\s8.3.x\sand\s8.4ax\sreleases.\s\s\sExcept\nfor\sthe\saborting,\sthat's\swhat\syou\sreport\sfor\s8.4a3\sas\swell.\n\nYou\sdon't\ssee\saborts?\n\nSo,\sanyway,\sI'd\slook\sinto\sthe\schanges\sbetween\s8.2.2\sand\n8.2.3\sfor\sthe\scause\sof\sthe\schange\sin\sbehavior\sof\s[close],\nbut\sI\sdon't\ssee\sany\sversion\sof\sTcl\s(on\sSolaris\s8)\sfor\swhich\nyour\sscripts\swill\swork.\n\n
J login dgp
J mimetype text/plain
J username dgp
K 439114ffffffffffffffffffffffffffffffffff
U dgp
Z 5773478130b7bd40ad3954aaf1fd95cb