<i>Crash in io-29.33b (no implicit flush of nonblocking on exit</i> status still Open with 4 other changes
by
.
D 2012-07-24T20:32:12
J icomment In\stclWinPipe.c,\sPipeWriterThread()\sonly\scalls\sSetEvent(infoPtr->writable)\sonce\sthe\sWriteFile()\sloop\shas\swritten\sout\sall\sdata.\s\si.e.\sWaitForSingleObject(pipePtr->writable)\swill\sonly\swake\sonce\sthe\sflush\sis\scomplete.\n\nIf\sthe\sfile\shandle\sis\sclosed\sthen\sWriteFile()\sshould\sfail\sand\sthe\sthread\sshould\sterminate.\s\sI\stried\smoving\sTclpCloseFile(pipePtr->writeFile)\sin\sPipeClose2Proc()\sto\sabove\sWaitForSingleObject(pipePtr->writable),\sbut\sthat\sdoesn't\shelp,\sbecause\sof\sthis:\n\nTclpCloseFile:\n/*\n\s*\sDon't\sclose\sthe\sWin32\shandle\sif\sthe\shandle\sis\sa\sstandard\schannel\n\s*\sduring\sthe\sthread\sexit\sprocess.\sOtherwise,\sone\sthread\smay\skill\sthe\n\s*\sstdio\sof\sanother.\n\s*/\n\nHmm.\n\n
J login twylite
J mimetype text/plain
J username twylite
K 3545365fffffffffffffffffffffffffffffffff
U twylite
Z 8aff352a46cfc12bca9958c634c9a558