fix whitespace

This commit is contained in:
Kelvin Sherlock 2016-06-24 10:31:34 -04:00
parent a44d2d3e4d
commit bc2381a360
1 changed files with 11 additions and 11 deletions

View File

@ -142,21 +142,21 @@ void launch_mpw(const Environment &env, const std::vector<std::string> &argv, co
cargv.push_back(nullptr);
// export environment...
// export environment...
for (const auto &kv : env) {
if (kv.second) { // exported
std::string name = "mpw$" + kv.first;
setenv(name.c_str(), kv.second.c_str(), 1);
}
for (const auto &kv : env) {
if (kv.second) { // exported
std::string name = "mpw$" + kv.first;
setenv(name.c_str(), kv.second.c_str(), 1);
}
}
// handle any indirection...
fds.dup();
// handle any indirection...
fds.dup();
execv(mpw_path().c_str(), cargv.data());
perror("execvp: ");
exit(EX_OSERR); // raise a signal?
execv(mpw_path().c_str(), cargv.data());
perror("execvp: ");
exit(EX_OSERR); // raise a signal?
}
namespace {