27 Jan 2012 12:46
Bugs(?) in pathnames
Hi devs,
I've observed a few issues (some I'm not so sure about) with pathnames:
1.
CL-USER> (make-pathname :device '("c:/a.b.jar")
:directory '(:absolute "cl-ppcre"))
; Evaluation aborted on NIL.
Why am I not getting any errors (and not dropping into a debugger)? I
know the error is because the device is not a list of a pathname ie
missing a #P.
2. What's printed out is not what was read in (trailing /)
CL-USER> #P"jar:file:c:/a/b.jar!/cl-ppcre/"
#P"jar:file:c:/a/b.jar!/cl-ppcre"
3. Should this repeated jar:file:jar:file thing throw an error?
#P"jar:file:jar:file:c:/a/b.jar!/cl-ppcre/"
==> #P"jar:file:jar:file:c:/a/b.jar!/cl-ppcre"
I think that was all I found, at least for now
, thanks.
Yong.
RSS Feed