Since this patch has been waiting on dbus mailing list for a long time, I figured I should upload here too so it is not forgotten ;) It is adding inotify support for dbus, when available. It is based on dnotify and freedsb kqueue support already in dbus. We've been using this patch on Mandriva Linux for about one year now.
Created attachment 12586 [details] [review] inotify support
are you sure you've been using this patch over a year? The detection code has some major flaws in it: AC_CHECK_HEADERS(sys/inotify.h, have_inotify=no, have_inotify=yes) should be AC_CHECK_HEADERS(sys/inotify.h, have_inotify=yes, have_inotify=no) The other way around would turn off inotify if it existed This check if x$target_os = xlinux-gnu -o x$target_os = xlinux -a test x$have_inotify = xno; then should read as if test x$have_inotify = xno -a x$target_os = xlinux-gnu -o x$target_os = xlinux; then otherwise dnotify would be turned on even when inotify is turned on. The first statement reads a or (b and c). The second a and (b or c). Another bug was errno.h wasn't included In any case, fixed and committed. Can you comment at all on the errors before I close this bug?
arggg, you were right.. I guess I screwed up the configure part. /me commits suicide ;) closing bug as fixed.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.