[gamin] Re: gam_subscription_wants_event
- From: Daniel Veillard <veillard redhat com>
- To: "Neal H. Walfield" <neal walfield org>
- Cc: gamin-list gnome org
- Subject: [gamin] Re: gam_subscription_wants_event
- Date: Tue, 14 Jun 2005 11:25:39 -0400
On Tue, Jun 14, 2005 at 04:18:27PM +0100, Neal H. Walfield wrote:
> > > Gamin should emit FAMExists and FAMEndExist for /a/b. Right?
> >
> > not always ! See the noexist extension.
>
> Right. But isn't that caught by
>
> if ((sub->options & GAM_OPT_NOEXISTS) &&
> ((event == GAMIN_EVENT_EXISTS) ||
> (event == GAMIN_EVENT_ENDEXISTS)))
> return FALSE;
>
> and not the last if block?
the force option comes down from gam_server_emit_event. I can see it
called with both 1 and 0 in the code of gam_poll.c . There are many
various cases, I'm pretty sure that if I did there was a reason, and
that reason still seems valid from a quick glance at the code.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]