diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2024-09-15 21:16:34 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2024-09-20 08:56:16 +0200 |
commit | 7af80d986f836396977e25ccf2487414fc080400 (patch) | |
tree | e0b44b667f2c0007d4689abaeadff2e200f3d4cd /.github | |
parent | 6ea37c8fa4c4780ff99441ac787a2c9cd38c7bc6 (diff) |
lib: use copy of environ pointer in getenv()
Without this fix a call to getenv() without parameters destroys environ,
and subsequent calls to getenv() (with or without parameter) return
nothing.
Fixes: #219
Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions