mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
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:
parent
99927c39d4
commit
2e53931b53
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user