]> birchwood-abbey.net Git - mit-scheme.git/commit
Resolve `scheme-subprocess-environment' lazily.
authorTaylor R Campbell <campbell+mit-scheme@mumble.net>
Tue, 30 Jun 2020 05:52:30 +0000 (05:52 +0000)
committerTaylor R Campbell <campbell+mit-scheme@mumble.net>
Tue, 7 Jul 2020 16:01:30 +0000 (16:01 +0000)
commite43a74bc10074c7ee01f7b474d5f1e1918343f72
tree2373e7fb92a6f5313f7c6d2fe24097a4a694fe2a
parentcb3fb1792169fb5cf20c86b5af3320bb21cfe597
Resolve `scheme-subprocess-environment' lazily.

Avoids keeping an unnecessary copy of the environment around.

(This is also redundant with the R7RS environment API -- we have two
primitives for getting a copy of C `environ', added 28 years apart.)

(cherry picked from commit 529576d11ef0c6d62ce6cf57d54bf2dbacbe7187)
src/runtime/process.scm