[asterisk-commits] tilghman: branch 1.8 r290066 - /branches/1.8/pbx/pbx_spool.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Oct 3 15:02:35 CDT 2010


Author: tilghman
Date: Sun Oct  3 15:02:29 2010
New Revision: 290066

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=290066
Log:
Get notification only when file is closed, not when created.

(closes issue #17924)
 Reported by: mkeuter
 Patches: 
       asterisk-1.8-bugid17924.patch uploaded by abelbeck (license 946)
 Tested by: abelbeck

Modified:
    branches/1.8/pbx/pbx_spool.c

Modified: branches/1.8/pbx/pbx_spool.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/pbx/pbx_spool.c?view=diff&rev=290066&r1=290065&r2=290066
==============================================================================
--- branches/1.8/pbx/pbx_spool.c (original)
+++ branches/1.8/pbx/pbx_spool.c Sun Oct  3 15:02:29 2010
@@ -552,7 +552,7 @@
 	}
 
 #ifdef HAVE_INOTIFY
-	inotify_add_watch(inotify_fd, qdir, IN_CREATE | IN_MOVED_TO);
+	inotify_add_watch(inotify_fd, qdir, IN_CLOSE_WRITE | IN_MOVED_TO);
 #endif
 
 	/* First, run through the directory and clear existing entries */




More information about the asterisk-commits mailing list