diff -r 1be31c2fbbe1 src/org/armedbear/lisp/pathnames.lisp --- a/src/org/armedbear/lisp/pathnames.lisp Tue Mar 16 16:18:26 2010 +0100 +++ b/src/org/armedbear/lisp/pathnames.lisp Tue Mar 16 16:56:08 2010 +0100 @@ -232,6 +232,10 @@ (append (reverse match) (translate-directory-components-aux src (cdr from) (cdr to) case)))) + (when (and (null src) + (eq (car from) :wild-inferiors) + (eq (car to) :wild-inferiors)) + (return-from translate-directory-components-aux nil)) (when (null src) ;; SRC is NIL and we're still here: error exit (throw 'failed-match))))))