зеркало из https://github.com/mozilla/pjs.git
Bug 78672, xpfe must not print to console in opt builds. Patch by gautheri@noos.fr, r=mconnor, a=asa.
This commit is contained in:
Родитель
cb85fa0e8f
Коммит
f77479868c
|
@ -353,7 +353,9 @@ nsNativeAppSupportWin::CheckConsole() {
|
|||
FILE *hf = ::_fdopen( hCrt, "w" );
|
||||
if ( hf ) {
|
||||
*stdout = *hf;
|
||||
#ifdef DEBUG
|
||||
::fprintf( stdout, "stdout directed to dynamic console\n" );
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -364,7 +366,9 @@ nsNativeAppSupportWin::CheckConsole() {
|
|||
FILE *hf = ::_fdopen( hCrt, "w" );
|
||||
if ( hf ) {
|
||||
*stderr = *hf;
|
||||
#ifdef DEBUG
|
||||
::fprintf( stderr, "stderr directed to dynamic console\n" );
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче