diff options
-rw-r--r-- | src/main.c | 27 | ||||
-rw-r--r-- | version.log | 7 |
2 files changed, 26 insertions, 8 deletions
diff --git a/src/main.c b/src/main.c index 2e6de7ddb..c3ed705db 100644 --- a/src/main.c +++ b/src/main.c @@ -98,6 +98,7 @@ static int started = 0; extern void expire_all(void) { + waiting = -30; send_event(EVENT_DB_EXPIRE, 1, EVENT_START); waiting = -3; if (debug) @@ -124,7 +125,9 @@ extern void expire_all(void) waiting = -27; expire_szlines(); } + waiting = -29; expire_exceptions(); + waiting = -31; send_event(EVENT_DB_EXPIRE, 1, EVENT_STOP); } @@ -132,8 +135,8 @@ extern void expire_all(void) void save_databases(void) { + waiting = -19; send_event(EVENT_DB_SAVING, 1, EVENT_START); - waiting = -2; if (debug) alog("debug: Saving FFF databases"); @@ -204,6 +207,7 @@ void save_databases(void) } } #endif + waiting = -20; send_event(EVENT_DB_SAVING, 1, EVENT_STOP); } @@ -393,6 +397,12 @@ void sighandler(int signum) case -18: snprintf(buf, sizeof(buf), "saving %s", ExceptionDBName); break; + case -19:
+ snprintf(buf, sizeof(buf), "Sending event %s %s", EVENT_DB_SAVING, EVENT_START);
+ break;
+ case -20:
+ snprintf(buf, sizeof(buf), "Sending event %s %s", EVENT_DB_SAVING, EVENT_STOP);
+ break; case -21: snprintf(buf, sizeof(buf), "expiring nicknames"); break; @@ -411,6 +421,15 @@ void sighandler(int signum) case -28: snprintf(buf, sizeof(buf), "expiring SQLINEs"); break; + case -29:
+ snprintf(buf, sizeof(buf), "expiring Exceptions");
+ break;
+ case -30:
+ snprintf(buf, sizeof(buf), "Sending event %s %s", EVENT_DB_EXPIRE, EVENT_START);
+ break;
+ case -31:
+ snprintf(buf, sizeof(buf), "Sending event %s %s", EVENT_DB_EXPIRE, EVENT_STOP);
+ break; default: snprintf(buf, sizeof(buf), "waiting=%d", waiting); } @@ -649,10 +668,6 @@ void do_backtrace(int show_segheader) alog("Backtrace: not available on this platform"); #endif #else - char *winver; -
winver = GetWindowsVersion(); -
alog("Backtrace: not available on Windows"); -
alog("Running %S", winver); -
free(winver); + char *winver;
winver = GetWindowsVersion();
alog("Backtrace: not available on Windows");
alog("Running %S", winver);
free(winver); #endif } diff --git a/version.log b/version.log index e49618ab1..8239a3d55 100644 --- a/version.log +++ b/version.log @@ -9,11 +9,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="14" VERSION_EXTRA="" -VERSION_BUILD="1087" +VERSION_BUILD="1088" # $Log$ # - +# BUILD : 1.7.14 (1088) +# BUGS : +# NOTES : applied trystan's patch for 491. +# # BUILD : 1.7.14 (1087) # BUGS : 545 550 541 # NOTES : Various fixes. |