Skip to content
Snippets Groups Projects
Commit f5758b15 authored by rtoy's avatar rtoy
Browse files

As noted by Dan Corkill, cmucl-imp, 2005-02-08, :unspecific should be

accepted when computing namestrings.  CLHS 19.2.2.2.3.1 says
:unspecific components should not appear in the namestring.  Make it so.
parent fbb5f242
No related branches found
No related tags found
No related merge requests found
......@@ -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.85 2004/12/13 15:12:54 rtoy Exp $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/filesys.lisp,v 1.86 2005/02/10 15:57:08 rtoy Exp $")
;;;
;;; **********************************************************************
;;;
......@@ -357,6 +357,10 @@
(defun unparse-unix-piece (thing)
(etypecase thing
((member :wild) "*")
((member :unspecific)
;; CLHS 19.2.2.2.3.1 says "That is, both nil and :unspecific
;; cause the component not to appear in the namestring."
"")
(simple-string
(let* ((srclen (length thing))
(dstlen srclen))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment