2003-03-01 Joe Shaw <joe@ximian.com>
authorJoe Shaw <joeshaw@novell.com>
Sat, 1 Mar 2003 20:50:18 +0000 (20:50 +0000)
committerJoe Shaw <joeshaw@novell.com>
Sat, 1 Mar 2003 20:50:18 +0000 (20:50 +0000)
commite0db9aa1f9521d8115d95bc17690337e25b95ab2
tree3aead73451efe526b37cc39827bfeae892c71ba8
parent83087f783bb067e0809a6648a8bdb14e8e49efbf
2003-03-01  Joe Shaw  <joe@ximian.com>

* configure.in: Check for "struct cmsgcred" and try to access its
members for BSD-like unices.

* dbus/dbus-sysdeps.c (read_credentials_byte): Fold this back into
_dbus_read_credentials_unix_socket().
(_dbus_read_credentials_unix_socket): Use recvmsg() instead of
read() for reading the credential byte off the unix socket.  Use
struct cmsgcred on systems that support it.
ChangeLog
configure.in
dbus/dbus-sysdeps.c