<i>exec hangs, iff stdin & stdout both were previously closed.</i> status still Open with 3 other changes
by
.
D 2026-10-20T21:28:10.023
J icomment The\swarning\sis\snot\snew\sin\sthis\sbranch:\sTclpCreateProcess()\sis\sunchanged,\sbut\sunix/tclUnixPipe.c\shas\s<code>#define\sfork\svfork</code>\swhen\sHAVE_VFORK\sis\sset,\sso\s<code>pid\s=\sfork();</code>\sis\sreally\svfork(),\safter\swhich\sgcc\swarns\sabout\slocals\sthat\smay\sbe\sclobbered.\s<code>dsArray</code>\sand\s<code>newArgv</code>\sthere\swere\salready\svolatile\sfor\sthis\sreason,\s<code>errPipeIn</code>/<code>errPipeOut</code>\swere\snot.\n\nFixed\sin\s[4af19e7744]\son\sthe\sbranch:\sthey\sare\svolatile\snow\s(TclpCreatePipe()\sfills\splain\stemporaries).\sMy\sgcc\s15\snever\sshowed\sthe\swarning,\sso\splease\scheck\sthat\sit\sis\sgone\swith\syours.
J login serhiy.storchaka
J mimetype text/x-fossil-wiki
K 21dbc600ae0a005a7f879a05580550a8da257b14
U serhiy.storchaka
Z 9094916179288f80439ac69e4fb8e7d3