Bug 977339 - Do GECKO_SEPARATE_NSPR_LOGS=1 by default, r=jduell

This commit is contained in:
Honza Bambas 2014-03-05 14:01:09 +01:00
Родитель 369cf847da
Коммит bbe169ea7d
1 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -396,11 +396,9 @@ int32_t GeckoChildProcessHost::mChildCounter = 0;
bool
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* separateLogs = PR_GetEnv("GECKO_SEPARATE_NSPR_LOGS");
if (!origLogName || !separateLogs || !*separateLogs ||
*separateLogs == '0' || *separateLogs == 'N' || *separateLogs == 'n') {
if (!origLogName) {
return PerformAsyncLaunchInternal(aExtraOpts, arch);
}