зеркало из https://github.com/mozilla/gecko-dev.git
Bug 977339 - Do GECKO_SEPARATE_NSPR_LOGS=1 by default, r=jduell
This commit is contained in:
Родитель
369cf847da
Коммит
bbe169ea7d
|
@ -396,11 +396,9 @@ int32_t GeckoChildProcessHost::mChildCounter = 0;
|
||||||
bool
|
bool
|
||||||
GeckoChildProcessHost::PerformAsyncLaunch(std::vector<std::string> aExtraOpts, base::ProcessArchitecture arch)
|
GeckoChildProcessHost::PerformAsyncLaunch(std::vector<std::string> aExtraOpts, base::ProcessArchitecture arch)
|
||||||
{
|
{
|
||||||
// If separate NSPR log files are not requested, we're done.
|
// If NSPR log files are not requested, we're done.
|
||||||
const char* origLogName = PR_GetEnv("NSPR_LOG_FILE");
|
const char* origLogName = PR_GetEnv("NSPR_LOG_FILE");
|
||||||
const char* separateLogs = PR_GetEnv("GECKO_SEPARATE_NSPR_LOGS");
|
if (!origLogName) {
|
||||||
if (!origLogName || !separateLogs || !*separateLogs ||
|
|
||||||
*separateLogs == '0' || *separateLogs == 'N' || *separateLogs == 'n') {
|
|
||||||
return PerformAsyncLaunchInternal(aExtraOpts, arch);
|
return PerformAsyncLaunchInternal(aExtraOpts, arch);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче