rpms/gamin/devel 168744.patch,NONE,1.1 gamin.spec,1.38,1.39

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Sep 20 15:26:10 UTC 2005


Author: veillard

Update of /cvs/dist/rpms/gamin/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv14249

Modified Files:
	gamin.spec 
Added Files:
	168744.patch 
Log Message:
Trying to fix #168744, Daniel


168744.patch:
 gam_connection.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

--- NEW FILE 168744.patch ---
Index: server/gam_connection.c
===================================================================
RCS file: /cvs/gnome/gamin/server/gam_connection.c,v
retrieving revision 1.27
diff -u -r1.27 gam_connection.c
--- server/gam_connection.c	10 Sep 2005 10:46:57 -0000	1.27
+++ server/gam_connection.c	20 Sep 2005 15:10:57 -0000
@@ -387,7 +387,7 @@
 	    gam_listener_remove_subscription(conn->listener, sub);
 	    gam_remove_subscription(sub);
 #ifdef ENABLE_INOTIFY
-	    if (gam_inotify_is_running())
+	    if ((gam_inotify_is_running()) && (!gam_exclude_check(path)))
 		gam_subscription_free(sub);
 #endif
 
@@ -396,7 +396,8 @@
 			  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);


Index: gamin.spec
===================================================================
RCS file: /cvs/dist/rpms/gamin/devel/gamin.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- gamin.spec	8 Sep 2005 13:07:35 -0000	1.38
+++ gamin.spec	20 Sep 2005 15:26:07 -0000	1.39
@@ -10,6 +10,7 @@
 Obsoletes: fam
 Provides: fam
 BuildRequires: glib2-devel python python-devel
+Patch0: 168744.patch
 
 %description
 This C library provides an API and ABI compatible file alteration
@@ -41,6 +42,7 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 %configure
@@ -88,6 +90,8 @@
 %doc doc/python.html
 
 %changelog
+* Tue Sep 20 2005 Daniel Veillard <veillard at redhat.com> 0.1.6-2
+- apply patch to try fixing #168744
 * Thu Sep  8 2005 Daniel Veillard <veillard at redhat.com> 0.1.6-1
 - revamp of the inotify back-end
 - memory leak fix




More information about the fedora-cvs-commits mailing list