]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
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 34bd1702f43ad3f4b68e94e08c839e51cf535f49..a09695795a310e05c6341e9088d3fcf20ff4d22e 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 3d120a4087ac06957fe1880a8f30bf9d74ab037f..661c247c95b6196aa7e2e7142243db824d10918b 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 */