summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2023-01-05 22:06:50 -0800
committerAkira Hatanaka <ahatanaka@apple.com>2023-01-05 22:59:07 -0800
commit34aa2e24c89ae39c0db4254d8aafcae0285dbe34 (patch)
tree0b44df03cab7142010f749f0d8f6db3f2b9137f2 /lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
parenta698790c51ec2804c3a7ba4c59438e7816690ea2 (diff)
Save the result of getenv() to a string
The result has to be saved to a string as the result might be overwritten by subsequent calls to getenv. https://pubs.opengroup.org/onlinepubs/009696899/functions/getenv.html See the discussion here: https://reviews.llvm.org/D137996#4029305
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp')
0 files changed, 0 insertions, 0 deletions