mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:18:12 +00:00
![]() If I'm understanding the standard C library correctly, setenv() copies while putenv() does not. That's really confusing and putenv() basically sucks. To know which environment variables to free on replacement and which ones to leave alone, we keep track of the ones malloced by setenv in a side table. This patch also moves Shell to using setenv() instead of putenv(). Fixes #29. |
||
---|---|---|
.. | ||
.gitignore | ||
GlobalState.h | ||
LineEditor.cpp | ||
LineEditor.h | ||
main.cpp | ||
Makefile | ||
Parser.cpp | ||
Parser.h |