mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 02:08:12 +03:00
96db775ac1
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 |