*** empty log message ***
[bpt/guile.git] / libguile / eq.c
index a203e6d..a0563c0 100644 (file)
@@ -1,4 +1,4 @@
-/*     Copyright (C) 1995,1996 Free Software Foundation, Inc.
+/*     Copyright (C) 1995,1996,1997 Free Software Foundation, Inc.
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -12,7 +12,8 @@
  * 
  * You should have received a copy of the GNU General Public License
  * along with this software; see the file COPYING.  If not, write to
- * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ * Boston, MA 02111-1307 USA
  *
  * As a special exception, the Free Software Foundation gives permission
  * for additional uses of the text contained in its release of GUILE.
@@ -36,8 +37,7 @@
  *
  * If you write modifications of your own for GUILE, it is your choice
  * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.  
- */
+ * If you do not wish that, delete this exception notice.  */
 \f
 #include <stdio.h>
 #include "_scm.h"
@@ -96,7 +96,7 @@ scm_equal_p (x, y)
      SCM y;
 {
   SCM_CHECK_STACK;
- tailrecurse: SCM_ASYNC_TICK;
+ tailrecurse: SCM_TICK;
        if (x==y) return SCM_BOOL_T;
        if (SCM_IMP(x)) return SCM_BOOL_F;
        if (SCM_IMP(y)) return SCM_BOOL_F;
@@ -106,8 +106,8 @@ scm_equal_p (x, y)
                y = SCM_CDR(y);
                goto tailrecurse;
        }
-       if (SCM_TYP7SD (x) == scm_tc7_string
-           && SCM_TYP7SD (x) == scm_tc7_string)
+       if (SCM_TYP7S (x) == scm_tc7_string
+           && SCM_TYP7S (y) == scm_tc7_string)
          return scm_string_equal_p (x, y);
        /* This ensures that types and scm_length are the same.  */
        if (SCM_CAR(x) != SCM_CAR(y)) return SCM_BOOL_F;