On Sun, Jun 15, 2014 at 8:15 PM, Ian Wadham <[email protected]> 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 [email protected] [email protected] unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
_______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
