tFix binary operation precedence issue - wendy - watch files/directories and run commands on any event
HTML git clone git://z3bra.org/wendy
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 1c5a1113bc593cb3f6c1393fcac680d4768c8d35
DIR parent cff44da04995e9f4eda7483b47047295d345f1e6
HTML Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 13 Mar 2020 12:00:30 +0100
Fix binary operation precedence issue
Diffstat:
M wendy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/wendy.c b/wendy.c
t@@ -225,7 +225,7 @@ main (int argc, char **argv)
wait(NULL);
}
- switch(e->mask & IN_ALL_EVENTS|IN_IGNORED) {
+ switch(e->mask & (IN_ALL_EVENTS|IN_IGNORED)) {
case IN_CREATE:
/* Watch subdirectories upon creation */
if (rflag)