Backed out changeset a4bf5887fc2a (bug 1680402) for being the most likely cause of bug 1686387. a=backout

This commit is contained in:
Brindusan Cristian 2021-01-13 06:30:08 +02:00
Родитель 1465995b22
Коммит 07342ce091
2 изменённых файлов: 2 добавлений и 6 удалений

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

@ -45,9 +45,7 @@ inline void printf_stderr(const char* fmt, ...) MOZ_FORMAT_PRINTF(1, 2) {
}
#endif // defined(XP_WIN)
// stderr is unbuffered by default so we open a new FILE (which is buffered)
// so that calls to printf_stderr are not as likely to get mixed together.
FILE* fp = _fdopen(_dup(_fileno(stderr)), "a");
FILE* fp = _fdopen(_dup(2), "a");
if (!fp) return;
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)
// so that calls to printf_stderr are not as likely to get mixed together.
FILE* fp = _fdopen(_dup(_fileno(stderr)), "a");
FILE* fp = _fdopen(_dup(2), "a");
if (!fp) {
return;
}