sionescu / iolib

Common Lisp I/O library
http://common-lisp.net/project/iolib/
MIT License
141 stars 31 forks source link

Handle duplicate OS environment variables correctly #24

Open sionescu opened 9 years ago

sionescu commented 9 years ago

That parsing of the OS process environment should only keep the first occurrence of an environment variable, consistently with the C getenv(). Currently we scan the whole environment array and the last entry wins. Check what POSIX mandates