On 2000-04-05 21:34:54 +0200, Marius Gedminas wrote:

> So far so good.  However there's a strange bug/feature:

Bug.  Try the attached patch, please.  It also fixes a
similar problem with the alladdr operator.

-- 
http://www.guug.de/~roessler/
--- pattern.c.orig      Thu Apr  6 09:31:05 2000
+++ pattern.c   Thu Apr  6 09:37:10 2000
@@ -687,8 +687,8 @@
        else
          curlist = tmp;
        last = tmp;
-       tmp->not = not;
-       tmp->alladdr = alladdr;
+       tmp->not ^= not;
+       tmp->alladdr |= alladdr;
        not = 0;
        alladdr = 0;
        ps.dptr = p + 1; /* restore location */

PGP signature

Reply via email to