From 3bb94cce1a2ea62434fd4f9f7d5c107412d98fac Mon Sep 17 00:00:00 2001 From: pw <pw> Date: Sun, 27 May 2001 15:17:38 +0000 Subject: [PATCH] Fix print-function for logical-host so it outputs something meaningful. This can be improved on still. --- code/pathname.lisp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/pathname.lisp b/code/pathname.lisp index bd5b6de1a..d81c41528 100644 --- a/code/pathname.lisp +++ b/code/pathname.lisp @@ -4,7 +4,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/pathname.lisp,v 1.51 2001/05/18 13:50:04 pw Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/pathname.lisp,v 1.52 2001/05/27 15:17:38 pw Exp $") ;;; ;;; ********************************************************************** ;;; @@ -57,7 +57,8 @@ ;;; (defun %print-host (host stream depth) (declare (ignore depth)) - (print-unreadable-object (host stream :type t :identity t))) + (print-unreadable-object (host stream :type t) + (prin1 (logical-host-name host) stream))) (defstruct (logical-host (:include host -- GitLab