ladybird/Shell
Andreas Kling 96db775ac1 LibC: Add setenv().
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.
2019-05-30 03:22:18 +02:00
..
.gitignore Shell: Move the Shell to a separate directory and let's call it "Shell" :^) 2019-05-07 01:12:08 +02:00
GlobalState.h Shell: Move line editing to a separate class. 2019-05-07 01:39:41 +02:00
LineEditor.cpp Kernel: Add a beep() syscall that beeps the PC speaker. 2019-05-15 21:40:41 +02:00
LineEditor.h Add clang-format file 2019-05-28 17:31:20 +02:00
main.cpp LibC: Add setenv(). 2019-05-30 03:22:18 +02:00
Makefile Fix "make clean" not deleting app binaries. 2019-05-13 14:56:18 +02:00
Parser.cpp Shell: Add append operator (>>) 2019-05-26 01:32:05 +02:00
Parser.h Add clang-format file 2019-05-28 17:31:20 +02:00