From 595dc48e1bb495b7ab9698465a7ea93843c10bc8 Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Mon, 16 Dec 1991 13:04:40 +0000 Subject: [PATCH] In UNIX-NAMESTRING, treat a NIL version the same as :NEWEST. --- code/filesys.lisp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/code/filesys.lisp b/code/filesys.lisp index af11ccaf6..a5b7ea0b9 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))))))) -- GitLab