Skip to content
Snippets Groups Projects
Commit 23138708 authored by wlott's avatar wlott
Browse files

Fixed %ENUMERATE-FILES to deal better with pathnames that have NIL for the

type.
parent 3eec27c6
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,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/filesys.lisp,v 1.18 1991/12/16 13:04:40 wlott Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/filesys.lisp,v 1.19 1991/12/16 19:42:56 wlott Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -574,12 +574,11 @@ ...@@ -574,12 +574,11 @@
(mach:close-dir dir))))) (mach:close-dir dir)))))
(t (t
(let ((file (concatenate 'string directory name))) (let ((file (concatenate 'string directory name)))
(unless (eq type :unspecific) (unless (or (null type) (eq type :unspecific))
(setf file (concatenate 'string file "." type))) (setf file (concatenate 'string file "." type)))
(when version (unless (or (null version) (eq version :newest))
(unless (eq version :newest) (setf file (concatenate 'string file "."
(setf file (concatenate 'string file "." (quick-integer-to-string version)))))
(quick-integer-to-string version)))))
(when (or (not verify-existance) (when (or (not verify-existance)
(mach:unix-file-kind file)) (mach:unix-file-kind file))
(funcall function file))))))) (funcall function file)))))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment