[Ecls-list] Unicode and chdir

Waldek Hebisch hebisch at math.uni.wroc.pl
Wed Jul 1 20:53:44 UTC 2009


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.

-- 
                              Waldek Hebisch
hebisch at math.uni.wroc.pl 




More information about the ecl-devel mailing list