Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reimplementing SANE-USER-FLAGS and other things #7

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

m-g-r
Copy link

@m-g-r m-g-r commented Mar 11, 2022

Hi Olof-Joachim,

We noticed that replace-p actually does not work as documented.
You might want to look at this or just ignore it.

With greetings from the Engelbecken in Berlin,
Max

Max-Gerd Retzlaff and others added 6 commits March 10, 2022 18:19
…o add to it

from man 7 notify on IN_MASK_ADD:
add (OR) the events in mask to the watch mask (instead of replacing the mask)
This led to the error:
The value of SYMBOL is (:MASK-ADD :MOVE-SELF), which is not of type SYMBOL.
…N_MASK_ADD at all

The existing code used :MASK-ADD when REPLACE-P was T,
which would not replace but OR the flags. So this part
was inverted.

Nevertheless, if there was a watch already configured the
code would always UNION with the previous flags, so that
flags would never be replaced.
@Ferada
Copy link
Owner

Ferada commented Apr 1, 2022

Hi Max, I'll check it out, thanks for the PR already.

@Ferada Ferada self-assigned this May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants