Skip to content
Tcl Source Code Artifact [7876b6f9ef]
Login

Artifact [7876b6f9ef]

Artifact 7876b6f9efd1043ffad5bace6acf20cffda98349:

Ticket change [7876b6f9ef] - Ticket [3545365fffffffff|3545365fff] <i>Crash in io-29.33b (no implicit flush of nonblocking on exit</i> status still Open with 4 other changes by twylite on 2012-07-23 20:02:34.
D 2012-07-23T20:02:34
J icomment >>\s,\sand\slet\sPipeClose2Proc\s(or\sother\splatform-specific\sclose)\sgive\sa\n>>\s"already\sclosed"\serror,\srather\sthan\srisk\sa\sNULL\spointer\sdereference?\n\n>\sThat\swould\smean\sthat\sEACH\sclose2Proc\sshould\simplement\sthis,\n>\sI\swould\sprefer\sto\scheck\sfor\sCHANNEL_DEAD\sin\sthe\score,\sand\n>\ssimply\snot\scall\sclose2Proc\sin\sthat\scase.\n\nI\sagree\sthat\sCHANNEL_DEAD\sshould\sbe\schecked\sin\sthe\score.\s\sI\swasn't\ssuggesting\schanges\sto\sany\sclose2Proc,\smerely\sthat\sa\sclose()\son\san\salready-closed\sfd\swill\sresult\sin\san\sOS\serror,\swhich\sis\spreferable\sto\sa\sdereference\sof\sa\sNULL\spointer.\n\n
J login twylite
J mimetype text/plain
J username twylite
K 3545365fffffffffffffffffffffffffffffffff
U twylite
Z d216d1803bd204fe47f5f000032b2917