run-program decodes and re-encodes environ
Bug #985904 reported by
Nikodemus Siivola
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Low
|
Unassigned |
Bug Description
...which is about as pointless as it gets. If environ is not explicitly provided as lisp strings, surely we should not start calling posix-environ.
More to the point, it makes things brittle unless c-string-
Changed in sbcl: | |
status: | Triaged → Fix Committed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Here's my attempt, I modified it to pass NULL to spawn on the C side, and when spawn gets NULL, it leaves environ intact. I'm not entirely sure that it's the right way to go. But it works, and it also reduces consing.