We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc9d0b4 commit 00ecba2Copy full SHA for 00ecba2
lib/Interpreter/Paths.cpp
@@ -170,7 +170,7 @@ bool ExpandEnvVars(std::string& Str, bool Path) {
170
std::string FullPath;
171
char* Tok = nullptr;
172
size_t sz = 0;
173
- if (getenv_s(&sz, &Tok, &sz, EnvVar.c_str())) {
+ if (getenv_s(&sz, Tok, &sz, EnvVar.c_str())) {
174
FullPath = Tok;
175
176
Str.replace(DPos, Length, FullPath);
0 commit comments