<i>exec implemenation fails to close() open file descriptors</i> status still Open with 5 other changes
by
.
D 2005-11-01T17:53:03
J assignee vincentdarley
J icomment Logged\sIn:\sYES\s\nuser_id=426773\n\nNo,\sI'd\scall\sit\sa\sBUG\sor\sat\sleast\san\sUNDOCUMENTED\sFEATURE\n:-),\sas\sthe\slanguage\sprovides\sno\sway\sto\saccess\sthe\srelevant\nsystem\scalls\sto\sdo\sthe\sIMHO\scorrect\sthing\s(not\sgive\saway\nprivate\sfile\sdescriptors)\sto\schild\sprocesses.\n\nWithout\sfork()\s&\sclose()\saccess,\show\sdo\sI\sstop\sthe\spollution\nof\schild\sprocesses?\sI\sdon't\ssee\sit\sas\sthe\schild\sexecutables'\nresponsibility\sto\scleanup\sthe\smess\screated\sby\sthe\sparent\nprocess.\sIn\sC\s&\sPerl\sif\sI\sfork()\sa\schild\sprocess\sI\shave\sthe\nopportunity\sto\scleanup\sany\sopen\sfile\sdescriptors\sbefore\nissuing\sand\sexec()\ssystem\scall,\sas\sI\sshould\sI\sopened\sthem.\n\nWhile\sI\scan\ssee\sthat\sadditional\scode\scould\sbe\sa\sFEATURE\nREQUEST,\sI\sfeel\sthat\spolluting\schild\sprocesses\sis\sa\sBUG\s-\nbut\seach\sto\sthere\sown\sopinion.\n\n\n
J login illumino
J mimetype text/plain
J username illumino
K 1343161fffffffffffffffffffffffffffffffff
U illumino
Z b741f2b36b70cbae18721f86a685f29f