# HG changeset patch # User Aidan Kehoe # Date 1219790349 -7200 # Node ID af95657e0bfdbc887ab4900b5627cbaaf21e112a # Parent 8748a3f7ceb4d37b2a73b7fcbd8256a05e0b666c Use EQ() and !EQ() in symbols.c, thank you Robert Delius Royar. 2008-08-27 Aidan Kehoe * 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. diff -r 8748a3f7ceb4 -r af95657e0bfd src/ChangeLog --- 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 + + * 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 * eval.c (Fuser_variable_p): Moved to symbols.c diff -r 8748a3f7ceb4 -r af95657e0bfd src/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; }