+ Flush HTML method dump file after writing it. Otherwise, the file is

truncated if EF dies while compiling.

+ Print a placeholder disassembled instruction rather than assert-botching,
  so that the -html option still works.


git-svn-id: svn://10.0.0.236/trunk@16856 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
fur%netscape.com
1998-12-23 20:21:58 +00:00
parent 99d79a713c
commit 7f437ecbfe
3 changed files with 11 additions and 3 deletions

View File

@@ -121,6 +121,13 @@ setLogFile(const char* inFileName)
file = fopen(inFileName, "w");
return (file != NULL);
}
void LogModuleObject::
flushLogFile()
{
if (file)
fflush(file);
}
#endif