r=mkaply, a=brendan
Remove OS/2 debugging messages during bringup
This commit is contained in:
mkaply%us.ibm.com 2000-06-20 13:21:22 +00:00
parent 6c84b182f2
commit ab95b94e76
3 changed files with 4 additions and 4 deletions

View File

@ -78,7 +78,7 @@ void nsCanvas::RealDoCreate( HWND hwndP, nsWindow *aParent, const nsRect &aRect,
nsWindow::RealDoCreate( hwndP, aParent, aRect, aHandleEventFunction,
aContext, aAppShell, aInitData, hwndO);
}
#if DEBUG
#if DEBUG_sobotka
printf("\nIn nsCanvas::RealDoCreate aParent = 0x%lx\n", &aParent);
printf(" hwndP = %lu\n", hwndP);
printf(" hwnd0 = %lu\n", hwndO);

View File

@ -60,7 +60,7 @@ void nsFrameWindow::RealDoCreate( HWND hwndP, nsWindow *aParent,
/* NS_ASSERTION( hwndP == HWND_DESKTOP && aParent == nsnull,
"Attempt to create non-top-level frame"); */
#if DEBUG
#if DEBUG_sobotka
printf("\nIn nsFrameWindow::RealDoCreate:\n");
printf(" hwndP = %lu\n", hwndP);
printf(" aParent = 0x%lx\n", &aParent);

View File

@ -57,7 +57,7 @@
inline nsresult
nsresultForErrno(int err)
{
#ifdef DEBUG
#ifdef DEBUG_sobotka
if (err)
fprintf(stderr, "errno %d\n", err);
#endif
@ -114,7 +114,7 @@ private:
nsresult LoadStatCache() {
if (stat((const char*)mPath, &mStatCache) == -1) {
#ifdef DEBUG
#ifdef DEBUG_sobotka
fprintf(stderr, "stat(%s) failed; errno: %d\n", (const char *)mPath, errno);
#endif
return NS_ERROR_FAILURE;