From 364620dd378e132be9c0201d277418543bb4938d Mon Sep 17 00:00:00 2001 From: gerd <gerd> Date: Tue, 6 May 2003 13:26:41 +0000 Subject: [PATCH] * src/code/hash-new.lisp (internal-sxhash): Treat conditions like structures. --- code/hash-new.lisp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/hash-new.lisp b/code/hash-new.lisp index 622d29eac..12c2d3dec 100644 --- a/code/hash-new.lisp +++ b/code/hash-new.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/hash-new.lisp,v 1.23 2003/03/27 12:42:10 gerd Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/hash-new.lisp,v 1.24 2003/05/06 13:26:41 gerd Exp $") ;;; ;;; ********************************************************************** ;;; @@ -911,7 +911,8 @@ (fixnum (ldb sxhash-bits-byte s-expr)) (character (char-code (char-upcase s-expr))) (instance - (if (typep s-expr 'structure-object) + (if (or (typep s-expr 'structure-object) + (typep s-expr 'condition)) (internal-sxhash (%class-name (layout-class (%instance-layout s-expr))) depth) (sxhash-instance s-expr))) -- GitLab