Fix formatting for the GDB stacktrace

fixes #8684
This commit is contained in:
Michael Friedrich 2015-03-11 16:31:30 +01:00
parent 9db3d42135
commit e1a07ad129

View File

@ -640,10 +640,13 @@ void Application::SigAbrtHandler(int)
DisplayBugMessage(ofs); DisplayBugMessage(ofs);
#ifndef _WIN32
ofs << "\n";
ofs.close(); ofs.close();
#ifndef _WIN32
GetDebuggerBacktrace(fname); GetDebuggerBacktrace(fname);
#else /* _WIN32 */
ofs.close();
#endif /* _WIN32 */ #endif /* _WIN32 */
} }
#else /* _WIN32 */ #else /* _WIN32 */