[Ecls-list] Unicode and chdir

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Tue Oct 19 15:40:41 UTC 2010


This problem seems to have been fixed in CVS.

ECL (Embeddable Common-Lisp) 10.7.1
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.
Top level.
> *features*

(:DARWIN :FORMATTER :LONG-LONG :UINT64-T :UINT32-T :UINT16-T
 :RELATIVE-PACKAGE-NAMES :LONG-FLOAT :UNICODE :DFFI :CLOS-STREAMS
:CMU-FORMAT
 :ECL-PDE :DLOPEN :CLOS :BOEHM-GC :ANSI-CL :COMMON-LISP :IEEE-FLOATING-POINT
 :PREFIXED-API :FFI :I686 :COMMON :ECL)
> (truename "./")

#P"/Users/jjgarcia/build/ecl/"
> (SI:CHDIR (truename "./"))

#P"/Users/jjgarcia/build/ecl/"
> (ext:system "pwd")
/Users/jjgarcia/build/ecl

0
>

Juanjo

On Wed, Jul 1, 2009 at 10:53 PM, Waldek Hebisch <hebisch at math.uni.wroc.pl>wrote:

> It seems that in Unicode-enabled ECL chdir changes Unix directory
> to the filesystem root, even though different directory was requested.
> For example:
>
> $ (export LD_LIBRARY_PATH=/mnt/a5/fricas/usrm/lib ;
> /mnt/a5/fricas/usrm/bin/ecl )
> ECL (Embeddable Common-Lisp) 9.6.2
> Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
> Copyright (C) 1993 Giuseppe Attardi
> Copyright (C) 2000 Juan J. Garcia-Ripoll
> ECL is free software, and you are welcome to redistribute it
> under certain conditions; see file 'Copyright' for details.
> Type :h for Help.
> Top level.
> > (truename "./")
>
> #P"/mnt/a5/fricas/axp18/pp2/ax-build7/src/algebra/"
> > (SI:CHDIR (truename "./"))
>
> #P"/mnt/a5/fricas/axp18/pp2/ax-build7/src/algebra/"
> > (ext:system "pwd")
> /
>
> 0
> >
>
> This is CVS version, build using just '--enable-unicode' flag to
> configure.  This is probably also present in 9.4.1 version --
> I found this problem investigating FriCAS build failure and
> the same failure occurs when using 9.4.1 and current CVS.
>


-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20101019/ebf57977/attachment.html>


More information about the ecl-devel mailing list