[Openmcl-devel] (make-pathname :name "x.1") => #P"x>.1" bug or feature?

Mirko Vukovic mirko.vukovic at gmail.com
Thu Apr 2 13:29:26 PDT 2015


Thanks - that helped me deal with this issue.

Once I knew what to google, I even found the documentation:
http://ccl.clozure.com/manual/chapter4.6.html

On Thu, Apr 2, 2015 at 3:53 PM, Zach Beane <xach at xach.com> wrote:

> Mirko Vukovic <mirko.vukovic at gmail.com> writes:
>
> > Hello,
> >
> > Doing (make-pathname :name "x.1") gives #P"x>.1"
> >
> > On clisp and sbcl I get #P"x.1"
> >
> > I am merging components to generate a name such as #P".../name.1.type"
> that
> > is needed by an external application.
>
> The syntax of a namestring is implementation-dependent.
>
> If you want a string representing the file's name to give to an external
> application or API, you can get it on CCL via
> CCL:NATIVE-TRANSLATED-NAMESTRING.
>
> On SBCL, you can use SB-EXT:NATIVE-NAMESTRING.
>
> Zach
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20150402/2f197ddc/attachment.htm>


More information about the Openmcl-devel mailing list