From 99d79a713c3682e7e2f1e9c1565b5972f3e00e0f Mon Sep 17 00:00:00 2001 From: "fur%netscape.com" Date: Wed, 23 Dec 1998 20:19:49 +0000 Subject: [PATCH] Flush HTML method dump file after writing it. Otherwise, the file is truncated if EF dies while compiling. git-svn-id: svn://10.0.0.236/trunk@16855 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/ef/Compiler/CodeGenerator/HTMLMethodDump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/ef/Compiler/CodeGenerator/HTMLMethodDump.cpp b/mozilla/ef/Compiler/CodeGenerator/HTMLMethodDump.cpp index b134b5a788a..111dd0e5d01 100644 --- a/mozilla/ef/Compiler/CodeGenerator/HTMLMethodDump.cpp +++ b/mozilla/ef/Compiler/CodeGenerator/HTMLMethodDump.cpp @@ -397,7 +397,7 @@ openFile(const char* fileName) void MethodToHTML:: closeFile() { -// assert(mFile); + mFile.flushLogFile(); // fclose(mFile); }