Unix FD Passing

Lennart Poettering mzqohf at 0pointer.de
Fri May 15 11:34:54 PDT 2009


On Wed, 13.05.09 00:42, Havoc Pennington (hp at pobox.com) wrote:

> > The message is hosed anyway on OOM and the fd is not lost. It has been
> > added to the array and will be freed properly when the message itself
> > is freed.
> 
> I don't remember the full context here. If it does work out then OK,
> but do ensure it's clear that it works out on purpose and not by
> accident (perhaps a one-line comment, "we rely on xyz" or "this is OK
> because we don't handle OOM anyway" or whatever it is)

Added a little comment explaining that.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the dbus mailing list