]> git.pld-linux.org Git - packages/gamin.git/commitdiff
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=168744
authorfreetz <freetz@pld-linux.org>
Thu, 29 Sep 2005 09:41:32 +0000 (09:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gamin-doublefree_fix.patch -> 1.1

gamin-doublefree_fix.patch [new file with mode: 0644]

diff --git a/gamin-doublefree_fix.patch b/gamin-doublefree_fix.patch
new file mode 100644 (file)
index 0000000..51812e2
--- /dev/null
@@ -0,0 +1,34 @@
+Index: server/gam_connection.c
+===================================================================
+RCS file: /cvs/gnome/gamin/server/gam_connection.c,v
+retrieving revision 1.27
+retrieving revision 1.29
+diff -u -p -r1.27 -r1.29
+--- server/gam_connection.c    10 Sep 2005 10:46:57 -0000      1.27
++++ server/gam_connection.c    22 Sep 2005 08:09:03 -0000      1.29
+@@ -387,8 +387,13 @@ gam_connection_request(GamConnDataPtr co
+           gam_listener_remove_subscription(conn->listener, sub);
+           gam_remove_subscription(sub);
+ #ifdef ENABLE_INOTIFY
+-          if (gam_inotify_is_running())
+-              gam_subscription_free(sub);
++          if ((gam_inotify_is_running()) && (!gam_exclude_check(path))) {
++              gam_fs_mon_type type;
++
++                type = gam_fs_get_mon_type (path);
++              if (type != GFS_MT_POLL)
++                  gam_subscription_free(sub);
++          }
+ #endif
+           if (gam_send_ack(conn, req->seq, path, pathlen) < 0) {
+@@ -396,7 +401,8 @@ gam_connection_request(GamConnDataPtr co
+                         gam_connection_get_pid(conn));
+           }
+           g_free(path);
+-        }   break;
++          break;
++        }   
+         case GAM_REQ_DEBUG:
+ #ifdef GAMIN_DEBUG_API
+           gam_debug_add(conn, req->path, options);
This page took 0.07553 seconds and 4 git commands to generate.