[Ecls-list] Problem with environment access

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Wed Jul 1 12:03:05 UTC 2009


On Wed, Jul 1, 2009 at 3:25 AM, Waldek Hebisch<hebisch at math.uni.wroc.pl> wrote:
> The following program:
>
> (defun |getEnv| (var-name)
>   (si::getenv var-name)
> )
>
> (defun DaaseName (name)
>  (let (daase filename)
>   (declare (special $spadroot))
>   (if (setq daase (|getEnv| "DAASE"))
> when compiled gives me unexpected result.

The string constants are now statically generated as C constants. The
code to do that would insert an extra space at the end. I think fixed
this now. Thanks for reporting.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list