From 6ef37647c83b40631bb87b4702ffbd3f0a63862b Mon Sep 17 00:00:00 2001 From: rtoy <rtoy> Date: Mon, 7 Nov 2005 00:42:25 +0000 Subject: [PATCH] A pathname name may contain a dot if a pathname type is given. --- code/filesys.lisp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/filesys.lisp b/code/filesys.lisp index 1338626b5..e3327e35e 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.97 2005/11/04 14:22:43 rtoy Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/filesys.lisp,v 1.98 2005/11/07 00:42:25 rtoy Exp $") ;;; ;;; ********************************************************************** ;;; @@ -493,8 +493,9 @@ (when (stringp name) (when (find #\/ name) (error "Cannot specify a directory separator in a pathname name: ~S" name)) - (when (find #\. name) - (error "Cannot specify a dot in a pathname name: ~S" name)) + (when (and (not type-supplied) + (find #\. name)) + (error "Cannot specify a dot in a pathname name without a pathname type: ~S" name)) (when (or (string= ".." name) (string= "." name)) (error "Invalid value for a pathname name: ~S" name))) -- GitLab