mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 19:08:21 +08:00
Fix comment from https://github.com/llvm/llvm-project/pull/158719 (#159157)
This commit is contained in:
@@ -220,8 +220,7 @@ static bool Execute(ProcessInfo &PI, StringRef Program,
|
||||
llvm::append_range(EnvBlock, EnvString);
|
||||
EnvBlock.push_back(0);
|
||||
}
|
||||
// If an empty environment (*Env is size zero), we need to
|
||||
// terminate with two nulls.
|
||||
// Empty environments need to be terminated with two nulls.
|
||||
if (Env->size() == 0)
|
||||
EnvBlock.push_back(0);
|
||||
EnvBlock.push_back(0);
|
||||
|
||||
Reference in New Issue
Block a user