From Richard Earnshaw (rearnsha@armltd.co.uk):
authorKen Raeburn <raeburn@cygnus>
Fri, 19 May 1995 18:43:49 +0000 (18:43 +0000)
committerKen Raeburn <raeburn@cygnus>
Fri, 19 May 1995 18:43:49 +0000 (18:43 +0000)
* gasp.c (istrue): Correctly test for string inequality.

gas/ChangeLog
gas/gasp.c

index 34bd170..a096957 100644 (file)
@@ -1,3 +1,7 @@
+Fri May 19 16:37:39 1995  Richard Earnshaw (rearnsha@armltd.co.uk)
+
+       * gasp.c (istrue): Correctly test for string inequality.
+
 Thu May 18 04:25:11 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
 
        Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
index 3d120a4..661c247 100644 (file)
@@ -2330,7 +2330,7 @@ istrue (idx, in)
          res = 0;
        }
       else
-       res = cond == EQ && same;
+       res = (cond != EQ) ^ same;
     }
   else
     /* This is a numeric expression */