1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 00:23:13 +02:00

Fixed a win32 debugger bug

This commit is contained in:
codemastr
2002-11-17 01:49:22 +00:00
parent 5e9107815e
commit 1b17b5c0be
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -1661,3 +1661,5 @@ seen. gmtime warning still there
can make sure all servers report the same global max and that a local max can be adjusted
if for example a clone flood occurs. It is NOT designed to make the max count higher than
you actually have.
- Fixed a bug in the win32 debugger where the contents of the core file were not written
until ok was clicked. Reported by Simon Bell.
+1 -1
View File
@@ -198,6 +198,7 @@ LONG __stdcall ExceptionFilter(EXCEPTION_POINTERS *e) {
sprintf(text, "UnrealIRCd has encountered a fatal error. Debugging information has"
" been dumped to wircd.%d.core, please email this file to coders@lists.unrealircd.org.",
getpid());
fclose(fd);
if (!IsService)
MessageBox(NULL, text, "Fatal Error", MB_OK);
else {
@@ -207,7 +208,6 @@ LONG __stdcall ExceptionFilter(EXCEPTION_POINTERS *e) {
fclose(fd);
}
CleanUp();
fclose(fd);
return EXCEPTION_EXECUTE_HANDLER;
}