aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorRickard Andersson <gonz@severnatazvezda.com>2023-06-27 21:37:10 +0300
committerRickard Andersson <gonz@severnatazvezda.com>2023-06-27 21:37:10 +0300
commit330b393e1604b9a41fb8751b6446f73091c9f85c (patch)
tree71f01f994632016d91af9f9801764bcc9c410cd6 /src/main.cpp
parent8b8310711e4924678e605278fca1f8dbf517b903 (diff)
fix(os): use `setenv` instead of `putenv`
`setenv` doesn't copy the value that is put, which means that the previous code had a bug where we free'd the temporary memory and the environment was accidentally cleared right after the function finished.
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions