[Gambas-user] Pb instanciating inotify watch

Bruce adamnt42 at gmail.com
Thu Mar 7 09:22:55 CET 2019


Nothing is false! Therefore everything is true.
This is getting very confusing.
b

On 7/3/19 6:04 pm, Cedron Dawg wrote:
> I'm feeling prescient.  I wrote this a few hours ago:
> 
> https://forum.gambas.one/viewtopic.php?f=4&t=669
> 
> It's called "The True True"
> 
> Not exactly spot on, but close.
> 
> 
> ----- Original Message -----
> From: "Tobias Boege" <taboege at gmail.com>
> No, because I wrote that page and I also wrote the initial component,
> there can't be a discrepancy here :-)
> 
> The excerpt you quote doesn't say you have to specify all the events
> you want to watch as a bit-wise OR. It says you can use an OR of
> multiple events to turn them on or off in a single call -- a single
> event is also a bit-wise OR of events. You should still be able to
> activate or deactivate them individually at any time.
> 
> Every use of `Watch.Events[Mask] = Value` sets all events in the
> Mask (an OR of event constants representing a set of events) to Value,
> without affecting the state of events outside the set. That's how
> it was supposed to be, how it was initially implemented, how it is
> documented inside the source code, how the array interface makes sense,
> it's just not what the current implementation does.
> 
> (How are those Gambas test-suites coming along...?)
> 
> Regards,
> Tobi
> 


More information about the User mailing list