From: skeezix Date: Mon, 21 Feb 2011 21:14:05 +0000 (-0500) Subject: libpnd - inotify was catching all modifications instead of closed-writable files... X-Git-Tag: sz_beta3~63 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-libraries.git;a=commitdiff_plain;h=5d1dbf1c01b71e0c4481998a972d51e0a1685a96 libpnd - inotify was catching all modifications instead of closed-writable files. Thanks to Demitar for the catch! --- diff --git a/lib/pnd_notify.c b/lib/pnd_notify.c index 9c377c7..48593c2 100644 --- a/lib/pnd_notify.c +++ b/lib/pnd_notify.c @@ -24,7 +24,7 @@ static int notify_handle; #if 1 #define PND_INOTIFY_MASK IN_CREATE | IN_DELETE | IN_UNMOUNT \ | IN_DELETE_SELF | IN_MOVE_SELF \ - | IN_MOVED_FROM | IN_MOVED_TO | IN_MODIFY + | IN_MOVED_FROM | IN_MOVED_TO | IN_CLOSE_WRITE #else #define PND_INOTIFY_MASK IN_ALL_EVENTS #endif