[Openmcl-devel] Fwd: [Bug 636506] Re: (truename #P"ccl:") fails when *default-pathname-defaults* is not empty
Gary Byers
gb at clozure.com
Sun Sep 12 19:21:56 PDT 2010
On Sun, 12 Sep 2010, Ron Garret wrote:
> From: Faré <636506 at bugs.launchpad.net>
> Date: September 12, 2010 12:54:41 PM PDT
> To: ron at flownet.com
> Subject: [Bug 636506] Re: (truename #P"ccl:") fails when *default-pathname-defaults* is not empty
> Reply-To: Bug 636506 <636506 at bugs.launchpad.net>
>
> Ouch. Committed 2.129 as a fix. I hope I won't be the one to release
> 2.009, though. I don't know what CCL does, but it's probably a CCL bug,
> too.
>
I think that the bug is that (PATHNAME-DIRECTORY "ccl:") returns NIL
(rather than (:ABSOLUTE)), and this in turn leads to the unfortunate
MERGE-PATHNAMES result. The bug's in the namestring parsing code,
so another workaround would be
(truename (make-pathname :defaults #p"ccl:"))
More information about the Openmcl-devel
mailing list