]> git.pld-linux.org Git - packages/gamin.git/blob - double-lock.patch
add double-lock patch from fedora
[packages/gamin.git] / double-lock.patch
1 gam_server deadlocks, leading to all KDE applications hanging at start
2 https://bugzilla.redhat.com/show_bug.cgi?id=786170
3
4 Also happens to lock courier-imapd processes in pld linux
5
6 From 50df2c4de7b3aa8bed8781c92afb9a635a01df3f Mon Sep 17 00:00:00 2001
7 From: Sandro Mani <manisandro@gmail.com>
8 Date: Fri, 3 Feb 2012 09:10:21 +0100
9 Subject: [PATCH] Fix double lock
10
11 https://bugzilla.gnome.org/show_bug.cgi?id=669292
12 ---
13  server/inotify-helper.c |    4 ----
14  1 files changed, 0 insertions(+), 4 deletions(-)
15
16 diff --git a/server/inotify-helper.c b/server/inotify-helper.c
17 index d77203e..defa7c6 100644
18 --- a/server/inotify-helper.c
19 +++ b/server/inotify-helper.c
20 @@ -127,9 +127,6 @@ ih_sub_add (ih_sub_t * sub)
21  gboolean
22  ih_sub_cancel (ih_sub_t * sub)
23  {
24 -       G_LOCK(inotify_lock);
25 -
26 -
27         if (!sub->cancelled)
28         {
29                 IH_W("cancelling %s\n", sub->pathname);
30 @@ -140,7 +137,6 @@ ih_sub_cancel (ih_sub_t * sub)
31                 sub_list = g_list_remove (sub_list, sub);
32         }
33  
34 -       G_UNLOCK(inotify_lock);
35         return TRUE;
36  }
37  
38 -- 
39 1.7.9
40
This page took 0.073054 seconds and 4 git commands to generate.