changeset 4503:af95657e0bfd

Use EQ() and !EQ() in symbols.c, thank you Robert Delius Royar. 2008-08-27 Aidan Kehoe <kehoea@parhasard.net> * symbols.c (Fuser_variable_p): (map_varalias_chain): Use EQ() and !EQ(), don't compare two Lisp_Objects using == and !=. Fixes the union build, thank you Robert Delius Royar.
author Aidan Kehoe <kehoea@parhasard.net>
date Wed, 27 Aug 2008 00:39:09 +0200
parents 8748a3f7ceb4
children b82fdf7305ee
files src/ChangeLog src/symbols.c
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Aug 23 16:38:51 2008 +0200
+++ b/src/ChangeLog	Wed Aug 27 00:39:09 2008 +0200
@@ -1,3 +1,10 @@
+2008-08-27  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* symbols.c (Fuser_variable_p): 
+	(map_varalias_chain): 
+	Use EQ() and !EQ(), don't compare two Lisp_Objects using == and
+	!=. Fixes the union build, thank you Robert Delius Royar. 
+
 2008-08-23  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* eval.c (Fuser_variable_p): Moved to symbols.c
--- a/src/symbols.c	Sat Aug 23 16:38:51 2008 +0200
+++ b/src/symbols.c	Wed Aug 27 00:39:09 2008 +0200
@@ -2823,7 +2823,7 @@
       return Qnil;
     }
 
-  assert (make_int (1) == mapped);
+  assert (EQ (make_int (1), mapped));
 
   return Qt;
 }
@@ -3247,7 +3247,7 @@
 	 count++)
     {
       res = (fn) (hare);
-      if (Qzero != res)
+      if (!EQ (Qzero, res))
         {
           return res;
         }