From a2dc40a3af8547a49edac61f7480175c46bf6e3b Mon Sep 17 00:00:00 2001
From: toy <toy>
Date: Wed, 2 Oct 2002 13:36:48 +0000
Subject: [PATCH] Treat pathname version :unspecific the same as :newest.

---
 code/filesys.lisp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/code/filesys.lisp b/code/filesys.lisp
index e7a2f5785..5a2ffedb7 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.67 2002/07/10 16:15:58 toy Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/filesys.lisp,v 1.68 2002/10/02 13:36:48 toy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -422,7 +422,7 @@
 	   (type-supplied (not (or (null type) (eq type :unspecific))))
 	   (logical-p (logical-pathname-p pathname))
 	   (version (%pathname-version pathname))
-	   (version-supplied (not (or (null version) (eq version :newest)))))
+	   (version-supplied (not (or (null version) (member version '(:newest :unspecific))))))
       (when name
 	(strings (unparse-unix-piece name)))
       (when type-supplied
@@ -673,7 +673,7 @@
 	   (let ((file (concatenate 'string directory name)))
 	     (unless (or (null type) (eq type :unspecific))
 	       (setf file (concatenate 'string file "." type)))
-	     (unless (member version '(nil :newest :wild))
+	     (unless (member version '(nil :newest :wild :unspecific))
 	       (setf file (concatenate 'string file ".~"
 				       (quick-integer-to-string version)
 				       "~")))
-- 
GitLab