summaryrefslogtreecommitdiffhomepage
path: root/platform.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2024-09-15 21:16:34 +0000
committerMikael Magnusson <mikma@users.sourceforge.net>2024-09-15 21:16:34 +0000
commit8e74ad50c97ba0f7624a02189377753e24d52298 (patch)
tree2c537bedb27fc0eed12bcbc5396dbe6318a3c55f /platform.c
parent26d7292934493ebdb848dc4b3dc9d984525be9e3 (diff)
lib: make copy of environ pointer
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 'platform.c')
0 files changed, 0 insertions, 0 deletions