From a8195254ae3a5c87f9338c583c5b997f4c78ffb5 Mon Sep 17 00:00:00 2001 From: "waterson%netscape.com" Date: Thu, 21 Oct 1999 03:45:38 +0000 Subject: [PATCH] Change nsTraceRefCnt::WalkTheStack() to accept stream. git-svn-id: svn://10.0.0.236/trunk@51355 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/tests/TestStackCrawl.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mozilla/xpcom/tests/TestStackCrawl.cpp b/mozilla/xpcom/tests/TestStackCrawl.cpp index ba234b3261c..d6a5a741a01 100644 --- a/mozilla/xpcom/tests/TestStackCrawl.cpp +++ b/mozilla/xpcom/tests/TestStackCrawl.cpp @@ -5,10 +5,7 @@ int main(int argc, char* argv[]) { - char buf[16384]; - nsTraceRefcnt::WalkTheStack(buf, sizeof(buf)); - printf("%s\n", buf); - + nsTraceRefcnt::WalkTheStack(stdout); return 0; }