diff --git a/code/pathname.lisp b/code/pathname.lisp index 5ff0e17f59ef5bb9b680ab9b27e378f9f4a60e10..87822f2441fd070d2ffa8c178ca1d1f98d92a3cb 100644 --- a/code/pathname.lisp +++ b/code/pathname.lisp @@ -4,7 +4,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/pathname.lisp,v 1.75 2005/09/13 14:38:44 rtoy Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/pathname.lisp,v 1.76 2005/09/16 21:27:35 rtoy Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1382,6 +1382,8 @@ a host-structure or string." (with-pathname (source source) (with-pathname (from from-wildname) (with-pathname (to to-wildname) + (unless (pathname-match-p source from) + (didnt-match-error source from)) (let* ((source-host (%pathname-host source)) (to-host (%pathname-host to)) (diddle-case