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 <hebi...@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
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to