зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset a4bf5887fc2a (bug 1680402) for being the most likely cause of bug 1686387. a=backout
This commit is contained in:
Родитель
1465995b22
Коммит
07342ce091
|
@ -45,9 +45,7 @@ inline void printf_stderr(const char* fmt, ...) MOZ_FORMAT_PRINTF(1, 2) {
|
||||||
}
|
}
|
||||||
#endif // defined(XP_WIN)
|
#endif // defined(XP_WIN)
|
||||||
|
|
||||||
// stderr is unbuffered by default so we open a new FILE (which is buffered)
|
FILE* fp = _fdopen(_dup(2), "a");
|
||||||
// so that calls to printf_stderr are not as likely to get mixed together.
|
|
||||||
FILE* fp = _fdopen(_dup(_fileno(stderr)), "a");
|
|
||||||
if (!fp) return;
|
if (!fp) return;
|
||||||
|
|
||||||
va_list args;
|
va_list args;
|
||||||
|
|
|
@ -253,9 +253,7 @@ void vprintf_stderr(const char* aFmt, va_list aArgs) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// stderr is unbuffered by default so we open a new FILE (which is buffered)
|
FILE* fp = _fdopen(_dup(2), "a");
|
||||||
// so that calls to printf_stderr are not as likely to get mixed together.
|
|
||||||
FILE* fp = _fdopen(_dup(_fileno(stderr)), "a");
|
|
||||||
if (!fp) {
|
if (!fp) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче