From 8fd42275b6b9c21aaf2e865948361a0e1386cd0c Mon Sep 17 00:00:00 2001
From: toy <toy>
Date: Tue, 19 Feb 2002 15:48:25 +0000
Subject: [PATCH] %ENUMERATE-FILES was not putting the version number on to
 pathname correctly (forgot the ~s).  From Lynn Quam.

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

diff --git a/code/filesys.lisp b/code/filesys.lisp
index b96f2122d..f5c35b0ed 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.65 2001/12/13 13:45:08 pmai Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/filesys.lisp,v 1.66 2002/02/19 15:48:25 toy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -674,8 +674,9 @@
 	     (unless (or (null type) (eq type :unspecific))
 	       (setf file (concatenate 'string file "." type)))
 	     (unless (member version '(nil :newest :wild))
-	       (setf file (concatenate 'string file "."
-				       (quick-integer-to-string version))))
+	       (setf file (concatenate 'string file ".~"
+				       (quick-integer-to-string version)
+				       "~")))
 	     (when (or (not verify-existance)
 		       (unix:unix-file-kind file t))
 	       (funcall function file)))))))
-- 
GitLab