[cl-ppcre-devel] Problem with pathnames

Edi Weitz edi at weitz.de
Wed Jan 12 22:41:54 UTC 2011


I'm surprised that it works for your because there's a keyword missing
in the call to make-pathname.  But the general idea is of course
correct and I've committed this to the BKNR repository now.

Thanks,
Edi.


On Wed, Jan 12, 2011 at 10:39 PM, Juan Jose Garcia-Ripoll
<juanjose.garciaripoll at googlemail.com> wrote:
> This patch seems to fix everything and let cl-unicode build with ECL
> --- dump-orig.lisp 2011-01-12 22:37:54.000000000 +0100
> +++ dump.lisp 2011-01-12 22:32:17.000000000 +0100
> @@ -105,7 +105,8 @@
>  writes to the file denoted by RELATIVE-PATH - a path relative to the
>  location of this source file.  Writes a Lisp header to the files
>  unless NO-HEADER-P is true."
> -  `(let ((pathname (merge-pathnames ,relative-path *this-file*)))
> +  `(let ((pathname (merge-pathnames ,relative-path
> +                                    (make-pathname :name nil :type nil
> *this-file*))))
>       (format t "~&;;; Writing source file ~A" (file-namestring pathname))
>       (force-output)
>       (with-open-file (,stream pathname
>
> --
> Instituto de Física Fundamental, CSIC
> c/ Serrano, 113b, Madrid 28006 (Spain)
> http://juanjose.garciaripoll.googlepages.com
>
> _______________________________________________
> cl-ppcre-devel site list
> cl-ppcre-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/cl-ppcre-devel
>




More information about the Cl-ppcre-devel mailing list