Why does _dbus_exit call _exit?

Padraig O'Briain Padraig.Obriain at Sun.COM
Tue Oct 3 01:56:19 PDT 2006


I have been looking at why ORBit2 leaves stale sockets in 
$TMPDIR/orbit-padraigo when I log out.

I noticed that /usr/lib/gnome-vfs-daemon always left its stale ORBit 
socket behind.

This program exits when dbus_connection_dispatch calls _dbus_exit. 
The function _dbus-exit calls _exit instead of exit.

When _exit is called instead of exit the at_exit handler is not called 
so ORBit does not clean up.

Padraig




More information about the dbus mailing list