summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-07-14 17:55:51 +0000
committercertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-07-14 17:55:51 +0000
commit94e1160fcf8f523fcc30e84a11071dcf70868e6d (patch)
tree264702446900a291b05d13d4bd5bc9fdedc1f70f
parentcc34de2be6207c2f8a6466c76d89a7952e2e6d0c (diff)
# BUILD : 1.7.14 (1088) # BUGS : # NOTES : applied trystan's patch for 491.
git-svn-id: svn://svn.anope.org/anope/trunk@1088 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@812 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--src/main.c27
-rw-r--r--version.log7
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.