Skip to content
Snippets Groups Projects
Commit dd8f9c6c authored by ram's avatar ram
Browse files

Fixed CODE-BREAKDOWN to format properly now that source-info-file is a string,

not a pathname.
 
parent f503556a
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; ;;;
(ext:file-comment (ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/room.lisp,v 1.11 1991/08/30 17:11:20 ram Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/room.lisp,v 1.12 1991/12/22 15:27:51 ram Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -696,10 +696,7 @@ ...@@ -696,10 +696,7 @@
info) info)
(loop for ((count . size) name) in (sort (res) #'> :key #'cdar) do (loop for ((count . size) name) in (sort (res) #'> :key #'cdar) do
(format t "~20@A: ~:D bytes, ~:D object~:P.~%" (format t "~20@A: ~:D bytes, ~:D object~:P.~%"
(if (pathnamep name) (subseq name (max (- (length name) 20) 0))
(let ((name (namestring name)))
(subseq name (max (- (length name) 20) 0)))
name)
size count)))) size count))))
(values)) (values))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment