ignoring NEGOTIATE_UNIX_FD

Thiago Macieira thiago at kde.org
Thu Nov 8 04:04:03 PST 2012


On quinta-feira, 8 de novembro de 2012 11.04.07, Simon McVittie wrote:
> Bindings that wrap libdbus might follow libdbus' behaviour, or they
> might do something else entirely. For instance, dbus-python will give
> you a dbus.UnixFd object containing the fd, which is automatically
> closed if the UnixFd object is destroyed without calling its take() method.

Indeed. QtDBus does the same: the argument is a QDBusUnixFileDescriptor object 
which closes the file descriptor if you don't take ownership of it.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20121108/c7b33e39/attachment.pgp>


More information about the dbus mailing list