Skip to content
Snippets Groups Projects
Commit 6efc88b9 authored by Robert P. Goldman's avatar Robert P. Goldman
Browse files

Fixed bug in UIOP:GETENV for CMUCL.

The previous version did not seem to update after setting environment
variables.
parent 48a4ce97
No related branches found
No related tags found
No related merge requests found
...@@ -85,7 +85,8 @@ use getenvp to return NIL in such a case." ...@@ -85,7 +85,8 @@ use getenvp to return NIL in such a case."
#+(or abcl clisp ecl xcl) (ext:getenv x) #+(or abcl clisp ecl xcl) (ext:getenv x)
#+allegro (sys:getenv x) #+allegro (sys:getenv x)
#+clozure (ccl:getenv x) #+clozure (ccl:getenv x)
#+(or cmu scl) (cdr (assoc x ext:*environment-list* :test #'string=)) #+cmu (unix:unix-getenv x)
#+scl (cdr (assoc x ext:*environment-list* :test #'string=))
#+cormanlisp #+cormanlisp
(let* ((buffer (ct:malloc 1)) (let* ((buffer (ct:malloc 1))
(cname (ct:lisp-string-to-c-string x)) (cname (ct:lisp-string-to-c-string x))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment