Turn off PR_fprintf calls on Mac

This commit is contained in:
law@netscape.com
1999-05-15 03:02:06 +00:00
parent e7a04c7105
commit c0d9508a6f
2 changed files with 11 additions and 11 deletions

View File

@@ -301,8 +301,8 @@ nsAppShellService::EnumerateComponents( void (nsAppShellService::*function)( con
} else {
// Unable to set up for subkey enumeration.
#ifdef NS_DEBUG
PR_fprintf( PR_STDOUT, "Unable to enumerator app shell components, %s rv=0x%08X\n",
failed, (int)rv );
printf( "Unable to enumerator app shell components, %s rv=0x%08X\n",
failed, (int)rv );
#endif
}
@@ -334,8 +334,8 @@ nsAppShellService::InitializeComponent( const nsCID &aComponentCID ) {
rv = component->Initialize( this, mCmdLineService );
#ifdef NS_DEBUG
char *name = aComponentCID.ToString();
PR_fprintf( PR_STDOUT, "Initialized app shell component %s, rv=0x%08X\n",
name, (int)rv );
printf( "Initialized app shell component %s, rv=0x%08X\n",
name, (int)rv );
delete [] name;
#endif
// Release it (will live on if it registered itself as service).
@@ -344,8 +344,8 @@ nsAppShellService::InitializeComponent( const nsCID &aComponentCID ) {
// Error creating component.
#ifdef NS_DEBUG
char *name = aComponentCID.ToString();
PR_fprintf( PR_STDOUT, "Error creating app shell component %s, rv=0x%08X\n",
name, (int)rv );
printf( "Error creating app shell component %s, rv=0x%08X\n",
name, (int)rv );
delete [] name;
#endif
}
@@ -365,8 +365,8 @@ nsAppShellService::ShutdownComponent( const nsCID &aComponentCID ) {
rv = component->Shutdown();
#ifdef NS_DEBUG
char *name = aComponentCID.ToString();
PR_fprintf( PR_STDOUT, "Shut down app shell component %s, rv=0x%08X\n",
name, (int)rv );
printf( "Shut down app shell component %s, rv=0x%08X\n",
name, (int)rv );
delete [] name;
#endif
// Release the service.
@@ -376,8 +376,8 @@ nsAppShellService::ShutdownComponent( const nsCID &aComponentCID ) {
// a service).
#ifdef NS_DEBUG
char *name = aComponentCID.ToString();
PR_fprintf( PR_STDOUT, "Unable to shut down app shell component %s, rv=0x%08X\n",
name, (int)rv );
printf( "Unable to shut down app shell component %s, rv=0x%08X\n",
name, (int)rv );
delete [] name;
#endif
}