On Tue, Jun 14, 2005 at 03:53:18PM +0100, Neal H. Walfield wrote: > Clean up for gam_subscription.c consisting of documentation fixes and > some assertions.
not looked at yet. Just replying to the following. > Question: what are the exact semantics of the force parameter to > gam_subscription_wants_event? I see the code and it seems to me that > if the subscription is to a directory, the event occured on a > directory and the path on which the event occured is the path which > the subscription is monitoring, then GAMIN_EVENT_EXISTS, > GAMIN_EVENT_CHANGED and GAMIN_EVENT_ENDEXISTS are suppressed. Why? > > The SGI documentation has the following example: > > Example: A client monitors a directory containing two files. Later, > another program creates a third file. > > User calls FAMMonitorDirectory(... "/a/b" ...) > FAM events: FAMExists /a/b > FAMExists file_one > FAMExists file_two > FAMEndExist /a/b > Third file created. > FAMCreated file_three > > > Gamin should emit FAMExists and FAMEndExist for /a/b. Right? not always ! See the noexist extension. http://www.gnome.org/~veillard/gamin/differences.html Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ Gamin-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gamin-list
