+ 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:
@@ -121,6 +121,13 @@ setLogFile(const char* inFileName)
|
||||
file = fopen(inFileName, "w");
|
||||
return (file != NULL);
|
||||
}
|
||||
|
||||
void LogModuleObject::
|
||||
flushLogFile()
|
||||
{
|
||||
if (file)
|
||||
fflush(file);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user