Fall back to inotify_init if inotify_init1 does not work
authorJosselin Mouette <joss@debian.org>
Wed, 23 Sep 2009 16:39:45 +0000 (18:39 +0200)
committerJosselin Mouette <joss@debian.org>
Wed, 23 Sep 2009 16:39:45 +0000 (18:39 +0200)
commitcc4970cf9426ae4c929ccd859585a29fb9d243c8
tree4e89bd5bc84c6ddefe6814d7e141ed3d32431608
parent1a4763e6ef8e4da2a5118a00ce567e00704979cd
Fall back to inotify_init if inotify_init1 does not work

This fixes monitoring failing to work when glib is built on a 2.6.27+
kernel but run on an older one.

http://bugs.debian.org/544354
https://bugzilla.gnome.org/show_bug.cgi?id=593775
gio/inotify/inotify-kernel.c