[flang-commits] [PATCH] D111785: [flang] runtime: Read environment variables directly
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Wed Oct 20 11:04:37 PDT 2021
klausler added a comment.
Another thing that you should consider: if the program adds or modifies its environment via the POSIX functions setenv(3) and unsetenv(3), your code may not notice the changes unless it uses std::getenv() exclusively -- the captured envp pointer may not reflect those changes and may not even still be valid.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111785/new/
https://reviews.llvm.org/D111785
More information about the flang-commits
mailing list