Commit 595dc48e authored by wlott's avatar wlott
Browse files

In UNIX-NAMESTRING, treat a NIL version the same as :NEWEST.

parent 4e5114ad
......@@ -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)))))))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment