r21209 - in /desktop/unstable/glib2.0/debian: changelog patches/10_inotify_init1.patch patches/series

joss at users.alioth.debian.org joss at users.alioth.debian.org
Tue Sep 1 09:57:40 UTC 2009


Author: joss
Date: Tue Sep  1 09:57:40 2009
New Revision: 21209

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=21209
Log:
10_inotify_init1.patch: fall back on inotify_init when inotify_init1 
does not work, as happens with kernel versions < 2.6.27.
Closes: #544354.

Added:
    desktop/unstable/glib2.0/debian/patches/10_inotify_init1.patch
Modified:
    desktop/unstable/glib2.0/debian/changelog
    desktop/unstable/glib2.0/debian/patches/series

Modified: desktop/unstable/glib2.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/glib2.0/debian/changelog?rev=21209&op=diff
==============================================================================
--- desktop/unstable/glib2.0/debian/changelog [utf-8] (original)
+++ desktop/unstable/glib2.0/debian/changelog [utf-8] Tue Sep  1 09:57:40 2009
@@ -1,3 +1,11 @@
+glib2.0 (2.20.5-2) UNRELEASED; urgency=low
+
+  * 10_inotify_init1.patch: fall back on inotify_init when inotify_init1 
+    does not work, as happens with kernel versions < 2.6.27.
+    Closes: #544354.
+
+ -- Josselin Mouette <joss at debian.org>  Tue, 01 Sep 2009 11:56:52 +0200
+
 glib2.0 (2.20.5-1) unstable; urgency=low
 
   * New upstream bugfix release.

Added: desktop/unstable/glib2.0/debian/patches/10_inotify_init1.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/glib2.0/debian/patches/10_inotify_init1.patch?rev=21209&op=file
==============================================================================
--- desktop/unstable/glib2.0/debian/patches/10_inotify_init1.patch (added)
+++ desktop/unstable/glib2.0/debian/patches/10_inotify_init1.patch [utf-8] Tue Sep  1 09:57:40 2009
@@ -1,0 +1,19 @@
+Debian #544354
+GNOME #593775
+
+Index: glib-2.20.5/gio/inotify/inotify-kernel.c
+===================================================================
+--- glib-2.20.5.orig/gio/inotify/inotify-kernel.c	2009-09-01 11:45:53.760521652 +0200
++++ glib-2.20.5/gio/inotify/inotify-kernel.c	2009-09-01 11:49:41.214630129 +0200
+@@ -193,8 +193,10 @@
+ #ifdef HAVE_INOTIFY_INIT1
+   inotify_instance_fd = inotify_init1 (IN_CLOEXEC);
+ #else
+-  inotify_instance_fd = inotify_init ();
++  inotify_instance_fd = -1;
+ #endif
++  if (inotify_instance_fd < 0)
++    inotify_instance_fd = inotify_init ();
+ 
+   if (inotify_instance_fd < 0)
+     return FALSE;

Modified: desktop/unstable/glib2.0/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/glib2.0/debian/patches/series?rev=21209&op=diff
==============================================================================
--- desktop/unstable/glib2.0/debian/patches/series [utf-8] (original)
+++ desktop/unstable/glib2.0/debian/patches/series [utf-8] Tue Sep  1 09:57:40 2009
@@ -2,4 +2,5 @@
 02_gettext-desktopfiles-ubuntu.patch
 03_blacklist-directories.patch
 04_homedir_env.patch
+10_inotify_init1.patch
 60_wait-longer-for-threads-to-die.patch




More information about the pkg-gnome-commits mailing list