Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.

git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com
2000-10-28 22:17:53 +00:00
parent b60d205909
commit a8b9664a8c
766 changed files with 8258 additions and 10800 deletions

View File

@@ -32,11 +32,6 @@
#include "nsDebug.h"
#include "nsCRT.h"
#include "nsDeque.h"
#include "nslog.h"
NS_IMPL_LOG(nsStringLog)
#define PRINTF NS_LOG_PRINTF(nsStringLog)
#define FLUSH NS_LOG_FLUSH(nsStringLog)
#ifndef RICKG_TESTBED
#include "prdtoa.h"
@@ -1543,7 +1538,7 @@ NS_COM int fputs(const nsCString& aString, FILE* out)
void nsCString::DebugDump(void) const {
if(mStr && (eOneByte==mCharSize)) {
PRINTF("\n%s",mStr);
printf("\n%s",mStr);
}
}

View File

@@ -33,11 +33,7 @@
#include "prdtoa.h"
#include "nsISizeOfHandler.h"
#endif
#include "nslog.h"
NS_IMPL_LOG(nsString2Log)
#define PRINTF NS_LOG_PRINTF(nsString2Log)
#define FLUSH NS_LOG_FLUSH(nsString2Log)
static const char* kPossibleNull = "Error: possible unintended null in string";
static const char* kNullPointerError = "Error: unexpected null ptr";
@@ -1757,7 +1753,7 @@ void nsString::DebugDump(void) const {
}
if(theBuffer) {
PRINTF("\n%s",theBuffer);
printf("\n%s",theBuffer);
}
}