[Ecls-list] Problems with pathnames

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Tue Dec 5 17:52:04 UTC 2006

2006/11/28, Paulo Jabardo <pjabardo at yahoo.com.br>:
> Now I'm having anonther bug. This function (from PCL)
> (defun directory-wildcard (dirname)
>   (make-pathname
>    :name :wild
>    :type #-clisp :wild #+clisp nil
>    :defaults (pathname-as-directory dirname)))
> Calling the above function,
> > (setf w (directory-wildcard "."))
> #P"./*.*"
> > (directory w)
> > (pathname-directory w)
> (:RELATIVE ".")

This was a bug in MAKE-PATHNAME. The dot should be automatically
eliminated by ECL when creating the path. Sorry for the delay, job
gets in the way.


More information about the ecl-devel mailing list