Fixing KDE debug dialog and Dr Konqui to run on OS X

Brandon Allbery allbery.b at gmail.com
Sun Jun 15 20:38:20 PDT 2014


On Sun, Jun 15, 2014 at 8:15 PM, Ian Wadham <iandw.au at 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
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20140615/3764cd6a/attachment-0001.html>


More information about the macports-dev mailing list