Wild pathnames

Faré fahree at gmail.com
Tue Mar 18 02:55:26 UTC 2014


Is there a mailing-list where to report such issues, and where to
contact vendors so they fix their bugs?

mkdir -p /tmp/x ; touch "/tmp/x/" ; for i in sbcl ccl clisp cmucl ecl
abcl scl allegro lispworks gcl xcl ; do echo $i ; cl -l $i -iw '(let
((x (directory "/tmp/x/"))) (list "'$i'" x (pathname-name (first
x))))' ; done #cl


Escape properly:
("sbcl" (#P"/tmp/x/\\") "")
("cmucl" (#P"/tmp/x/\\") "")
("ccl" (#P"/tmp/x/\\") "\\")
("lispworks" (#P"/tmp/x/\\") "\\")
("scl" (#P"file://localhost/tmp/x/") "")

Read badly:
("clisp" (#P"/tmp/x/*") :WILD)
("ecl" (#P"/tmp/x/*") :WILD)
("allegro" (#P"/tmp/x/*") :WILD)
("xcl" (#P"/tmp/x/*") :WILD)

Error out:
abcl
Fatal condition:
Bad place for a wild pathname.

gcl:
Fatal condition:
Condition in LET [or a callee]: INTERNAL-SIMPLE-FILE-ERROR: File error
on "/tmp/x/": File "/tmp/x/" is wild

—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org
It ain't what a man don't know that makes him a fool;
it's the things he knows that ain't so. — Josh Billings



More information about the pro mailing list