1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 22:03:14 +02:00

# 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
This commit is contained in:
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
2006-07-14 17:55:51 +00:00
parent cc34de2be6
commit 94e1160fcf
2 changed files with 26 additions and 8 deletions
+21 -6
View File
@@ -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");
char *winver;
winver = GetWindowsVersion();
alog("Backtrace: not available on Windows");
+5 -2
View File
@@ -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.