On Sun, Jun 15, 2014 at 8:15 PM, Ian Wadham <iandw...@gmail.com> wrote:
> Later the the FDs get closed anyway and it works then, perhaps because > the app gets issued with a STOP. > Unix closes all fd-s at process exit (including abnormal exit) anyway; closing them preemptively like that doesn't make a whole lot of sense. The normal time you need such code is after a fork() and before exec() to avoid leaking file descriptors to a child that won't know they're even there. -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
_______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev