1 Index: server/gam_connection.c
2 ===================================================================
3 RCS file: /cvs/gnome/gamin/server/gam_connection.c,v
4 retrieving revision 1.27
5 retrieving revision 1.29
6 diff -u -p -r1.27 -r1.29
7 --- server/gam_connection.c 10 Sep 2005 10:46:57 -0000 1.27
8 +++ server/gam_connection.c 22 Sep 2005 08:09:03 -0000 1.29
9 @@ -387,8 +387,13 @@ gam_connection_request(GamConnDataPtr co
10 gam_listener_remove_subscription(conn->listener, sub);
11 gam_remove_subscription(sub);
13 - if (gam_inotify_is_running())
14 - gam_subscription_free(sub);
15 + if ((gam_inotify_is_running()) && (!gam_exclude_check(path))) {
16 + gam_fs_mon_type type;
18 + type = gam_fs_get_mon_type (path);
19 + if (type != GFS_MT_POLL)
20 + gam_subscription_free(sub);
24 if (gam_send_ack(conn, req->seq, path, pathlen) < 0) {
25 @@ -396,7 +401,8 @@ gam_connection_request(GamConnDataPtr co
26 gam_connection_get_pid(conn));
33 #ifdef GAMIN_DEBUG_API
34 gam_debug_add(conn, req->path, options);