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

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to