<i>exec with pipes and fileevents leaks ~2Mb everytime</i> status still Open with 4 other changes
by
.
D 2008-05-07T19:36:11
J icomment Logged\sIn:\sYES\s\nuser_id=496139\nOriginator:\sNO\n\nLooking\sat\sthe\scurrent\ssource\s(TclX\s8.4.0),\sI\sdo\ssee\sthat\sGetFileType,\sbut\sonly\sby\sa\sspecific\sset\sof\sTclX\scommands\s(approximate\snames):\sdup,\sbind,\sfstat,\sfsize,\sftruncate,\sselect,\sflock,\sfunlock,\scloexec.\n\nSo,\sat\sleast\sin\sthe\ssource\sI\shave\saccess\sto,\sI\sdon't\ssee\sTclX\sretrofitting\sits\sraw\spipes\sinto\score\sTcl's\sinstrumented\sones.\s(As\sadditional\sevidence,\sthe\sinstrumenting\sthreads\sare\sonly\screated\sfrom\swithin\sTclpCreateCommandChannel,\swhich\sis\sreally\snot\sable\sto\swrap\sa\ssimple\spreexisting\shandle).\n\nThis\sis\sgetting\sinteresting\s!\sInvestigation\scontinued...\n\n\n\sis\scalled\swithin\sthe\sChannelToHandle\sfunction,\swhich\sdoes\srecognize\spipes\sto\sproduce\sa\stype\sidentifier\sTCLX_WIN_PIPE,\sbut\sthis\svalue\sis\slargely\signored\sby\sthe\sonly\scaller\sof\sinterest\shere,\sTclXOSGetSelectFnum\s(\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 1958930fffffffffffffffffffffffffffffffff
U ferrieux
Z a3bd6be4bc386e28bced7534ced35048