[Ecls-list] Recent bug with getenv
Didier Verna
didier at lrde.epita.fr
Tue Feb 8 15:35:52 UTC 2011
Hello,
after a git upgrade today, I think there's a bug related to getenv in
standalone executables. To reproduce, put this in test.lisp:
(defun getenv (env)
(format t "~A~%" (ext:getenv env)))
(getenv (read-line))
Then do
(compile-file "test.lisp" :output-file "test.o" :system-p t)
(c:build-program "test" :lisp-files (list "test.o"))
and run the executable. I get this:
didier(pts/2)% ./test
PATH
Condition of type: SIMPLE-TYPE-ERROR
In function GETENV, the value of argument is
"PATH"
which is not of expected type BASE-STRING
Available restarts:
1. (USE-VALUE) Supply a new value of type BASE-STRING.
Top level.
>
Thanks!
--
Resistance is futile. You will be jazzimilated.
Scientific site: http://www.lrde.epita.fr/~didier
Music (Jazz) site: http://www.didierverna.com
More information about the ecl-devel
mailing list