Fix inotify shutdown
authorColin Walters <walters@verbum.org>
Tue, 2 Feb 2010 17:37:17 +0000 (12:37 -0500)
committerColin Walters <walters@verbum.org>
Tue, 2 Feb 2010 20:04:45 +0000 (15:04 -0500)
commit90fe96b1875350f86a4a773d4a0a22009950dd4d
tree5dffa2b28c1d13c3a0902054ac8cd4d57f6c969e
parenta7169e694c48c1259b51f62d73e92292d11bbab2
Fix inotify shutdown

We were incorrectly passing NULL for a DBusList when the usage expected
is a pointer to a NULL DBusList pointer.  Also during dbus_shutdown
we need to actually close the inotify fd, and remove our watch.

Move the shutdown handler out of bus.c and into inotify where we
can do all of this cleanly.
bus/bus.c
bus/dir-watch-inotify.c