]> birchwood-abbey.net Git - mit-scheme.git/commit
Parse environment variables lazily.
authorTaylor R Campbell <campbell+mit-scheme@mumble.net>
Tue, 30 Jun 2020 06:12:54 +0000 (06:12 +0000)
committerTaylor R Campbell <campbell+mit-scheme@mumble.net>
Tue, 7 Jul 2020 16:01:37 +0000 (16:01 +0000)
commitc1d49f6335a0ba9791fe294524fd8acd5fc971d0
tree1eeb96491da65425cb7584c116c2e6b4d349387b
parente43a74bc10074c7ee01f7b474d5f1e1918343f72
Parse environment variables lazily.

Toss the cache on gc-clean, so they don't get saved in bands, but
preserve the variables that were set explicitly by the user.

Make the ordering of get-environment-variables deterministic.

(cherry picked from commit 6a5292b9dd5b3f4a35f89c94486771e3fc9cd360)
src/runtime/os-primitives.scm
tests/check.scm
tests/runtime/test-os-env.scm [new file with mode: 0644]