0.7.9.7:
[sbcl.git] / src / code / filesys.lisp
index bde23dc..2e80dcb 100644 (file)
             (unless (or (null type) (eq type :unspecific))
               (/noshow0 "tweaking FILE for more-or-less-:UNSPECIFIC case")
               (setf file (concatenate 'string file "." type)))
-            (unless (member version '(nil :newest :wild))
+            (unless (member version '(nil :newest :wild :unspecific))
               (/noshow0 "tweaking FILE for more-or-less-:WILD case")
               (setf file (concatenate 'string file "."
                                       (quick-integer-to-string version))))
         (merged-pathname (merge-pathnames pathname
                                          *default-pathname-defaults*)))
     (!enumerate-matches (match merged-pathname)
-      (let ((*ignore-wildcards* t)
-            (truename (truename (if (eq (sb!unix:unix-file-kind match)
-                                       :directory)
-                                    (concatenate 'string match "/")
-                                    match))))
+      (let* ((*ignore-wildcards* t)
+            (truename (truename (if (eq (sb!unix:unix-file-kind match)
+                                        :directory)
+                                    (concatenate 'string match "/")
+                                    match))))
         (setf (gethash (namestring truename) truenames)
              truename)))
     (mapcar #'cdr