bug#23713: [PATCH 2/6] maint: replace bitwise with logical OR

2016-08-18 Thread Paul Eggert
Thanks. I see this patch was also installed in June so will close the bug report. I have a bone to pick with it, though. For bool expressions without side effects, bitwise ops are logically equivalent to short-circuit ops. On modern platforms where operands are trivial, short-circuit ops are o

bug#23713: [PATCH 2/6] maint: replace bitwise with logical OR

2016-06-06 Thread Zev Weiss
* src/grep.c (main): replace bitwise ORs with logical ORs where it makes sense (when dealing with boolean conditions as opposed to bitmasks). --- src/grep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/grep.c b/src/grep.c index d812bae..9776507 100644 --- a/src/grep.