From 261c442349716a90ff6c06c6681a10b48ff62283 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. --- ef/Compiler/CodeGenerator/HTMLMethodDump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ef/Compiler/CodeGenerator/HTMLMethodDump.cpp b/ef/Compiler/CodeGenerator/HTMLMethodDump.cpp index b134b5a788a..111dd0e5d01 100644 --- a/ef/Compiler/CodeGenerator/HTMLMethodDump.cpp +++ b/ef/Compiler/CodeGenerator/HTMLMethodDump.cpp @@ -397,7 +397,7 @@ openFile(const char* fileName) void MethodToHTML:: closeFile() { -// assert(mFile); + mFile.flushLogFile(); // fclose(mFile); }