From ff65e1c0bc785335bdd6705d4a33ffd58be010e6 Mon Sep 17 00:00:00 2001
From: rtoy <rtoy>
Date: Mon, 21 Aug 2006 15:46:08 +0000
Subject: [PATCH] Print out what kind of weak hash table we have.

---
 code/describe.lisp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/code/describe.lisp b/code/describe.lisp
index a4fdcf064..ed9d61f9f 100644
--- a/code/describe.lisp
+++ b/code/describe.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/describe.lisp,v 1.47 2006/07/20 18:30:21 rtoy Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/describe.lisp,v 1.48 2006/08/21 15:46:08 rtoy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -190,7 +190,8 @@
 	  (hash-table-rehash-threshold x))
   (format t "~&It currently holds ~d entries."
 	  (hash-table-number-entries x))
-  (format t "~&It is ~:[not a~;a~] weak table." (hash-table-weak-p x)))
+  (when (hash-table-weak-p x)
+    (format t "~&It is weak ~A table." (hash-table-weak-p x))))
 
 (defun describe-package (x)
   (describe-instance x)
-- 
GitLab