[gamin] Re: gam_subscription_wants_event



At Tue, 14 Jun 2005 11:25:39 -0400,
Daniel Veillard wrote:
> 
> 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.

Fair enough.  I am just trying to understand that reason :-)

Thanks,
Neal



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]