diff --git a/code/filesys.lisp b/code/filesys.lisp index af11ccaf69641655b7fcc033aaeda2702ca77825..a5b7ea0b9101ed4b19f5d4ff4c9570b8060ebc3f 100644 --- a/code/filesys.lisp +++ b/code/filesys.lisp @@ -6,7 +6,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/filesys.lisp,v 1.17 1991/12/16 12:50:25 wlott Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/filesys.lisp,v 1.18 1991/12/16 13:04:40 wlott Exp $") ;;; ;;; ********************************************************************** ;;; @@ -576,9 +576,10 @@ (let ((file (concatenate 'string directory name))) (unless (eq type :unspecific) (setf file (concatenate 'string file "." type))) - (unless (eq version :newest) - (setf file (concatenate 'string file "." - (quick-integer-to-string version)))) + (when version + (unless (eq version :newest) + (setf file (concatenate 'string file "." + (quick-integer-to-string version))))) (when (or (not verify-existance) (mach:unix-file-kind file)) (funcall function file)))))))