Rename the ubiquitous _r pointer to RuntimeEnvironment to RR just to be a little more consistent about using _ to denote private member variables.
This commit is contained in:
parent
431476e2e4
commit
81b12b6826
17 changed files with 370 additions and 370 deletions
|
@ -139,9 +139,9 @@ void Service::threadMain()
|
|||
dup2(in[0],STDIN_FILENO);
|
||||
dup2(out[1],STDOUT_FILENO);
|
||||
dup2(err[1],STDERR_FILENO);
|
||||
setenv("ZT_HOME",_r->homePath.c_str(),1);
|
||||
chdir(_r->homePath.c_str());
|
||||
execl(_path.c_str(),_path.c_str(),_r->homePath.c_str(),(const char *)0);
|
||||
setenv("ZT_HOME",RR->homePath.c_str(),1);
|
||||
chdir(RR->homePath.c_str());
|
||||
execl(_path.c_str(),_path.c_str(),RR->homePath.c_str(),(const char *)0);
|
||||
exit(-1);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue