[Openmcl-devel] Using :up in logical pathnames
Gary Byers
gb at clozure.com
Sat Jan 6 21:37:29 PST 2007
On Sat, 6 Jan 2007, Gary Byers wrote:
> I have to confess that I can only think about CL pathnames for a few
> minutes before getting a bad headache, so take this with a grain of
> salt.
>
> On Sat, 6 Jan 2007, Andrew Shalit wrote:
>
>> Should OpenMCL allow you to create logical pathnames that have (:ABSOLUTE :UP) as their directory component?
>>
>> Sometimes it does:
>>
>>
>> ? (translate-logical-pathname #p"ccl:foo.lisp")
>> #P"/Users/alms/openmcl/ccl/foo.lisp"
>>
>> ? (translate-logical-pathname #p"ccl:..;foo.lisp")
>> #P"/Users/alms/openmcl/foo.lisp"
Among other headache-inducing considerations: ".." has no portable
meaning in a logical-pathname namestring.
More information about the Openmcl-devel
mailing list