From d9980b78568d7e05f9bfbc26b4291b7385493495 Mon Sep 17 00:00:00 2001 From: "bryner%brianryner.com" Date: Fri, 18 Jun 2004 05:38:03 +0000 Subject: [PATCH] Restore unbuffering of stdout so that the startup perf test output gets written to the tinderbox log. --- toolkit/xre/nsAppRunner.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp index 09d640346ac2..ed9c03d397c1 100644 --- a/toolkit/xre/nsAppRunner.cpp +++ b/toolkit/xre/nsAppRunner.cpp @@ -1617,6 +1617,9 @@ int xre_main(int argc, char* argv[], const nsXREAppData* aAppData) InstallUnixSignalHandlers(argv[0]); #endif + // Unbuffer stdout, needed for tinderbox tests. + setbuf(stdout, 0); + #if defined(FREEBSD) // Disable all SIGFPE's on FreeBSD, as it has non-IEEE-conformant fp // trap behavior that trips up on floating-point tests performed by