(make-pathname :name "/root") - good/bad?
- From: Geoffrey King <lordergeoffrey@xxxxxxxxxxxxxxxx>
- Date: Thu, 30 Mar 2006 18:48:23 +1000
In LispWorks:
(make-pathname :name "root") ; --> #p"root"
(make-pathname :name "/root") ; --> #p"/root"
In CLISP (windows):
(make-pathname :name "root") ; --> #p"root"
(make-pathname :name "/root") ; --> error
The error is:
*** - MAKE-PATHNAME: illegal :NAME argument "/root"
If it makes a difference i don't have a directory called /root.
Which is the correct behaviour?
.
- Follow-Ups:
- Re: (make-pathname :name "/root") - good/bad?
- From: Harald Hanche-Olsen
- Re: (make-pathname :name "/root") - good/bad?
- From: Tim Bradshaw
- Re: (make-pathname :name "/root") - good/bad?
- From: Petter Gustad
- Re: (make-pathname :name "/root") - good/bad?
- From: Christophe Rhodes
- Re: (make-pathname :name "/root") - good/bad?
- Prev by Date: Re: sbcl (on mingw) + slime + asdf-install (from ccline)
- Next by Date: Re: What language will be used to write the first self aware program?
- Previous by thread: sbcl (on mingw) + slime + asdf-install (from ccline)
- Next by thread: Re: (make-pathname :name "/root") - good/bad?
- Index(es):