From f1577975a99dc93eff2dd9aa159a93a3c1cf4301 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 3 Sep 2011 03:49:45 -0400 Subject: Use _exit, not exit, to exit mail forks to prevent our atexit() functions from being called, and removing our pidfile --- src/mail.c | 2 +- version.log | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mail.c b/src/mail.c index 7f18e7d21..5b649e35d 100644 --- a/src/mail.c +++ b/src/mail.c @@ -237,7 +237,7 @@ void MailEnd(MailInfo * mail) } fclose(mail->readpipe); - exit(EXIT_SUCCESS); + _exit(EXIT_SUCCESS); } else if (pid < 0) #endif diff --git a/version.log b/version.log index 3d9416cd6..8314f4af4 100644 --- a/version.log +++ b/version.log @@ -8,9 +8,10 @@ VERSION_MAJOR="1" VERSION_MINOR="8" VERSION_PATCH="7" VERSION_EXTRA="-git" -VERSION_BUILD="3082" +VERSION_BUILD="3083" # $Log$ # Changes since 1.8.6 Release +#Revision 3083 - Use _exit, not exit, to exit mail forks to prevent our atexit() functions from being called, and removing our pidfile #Revision 3082 - Made os_sxline and os_akill use a stored value to curent time to prevent the off-chance of time changing while executing the function which can mess up our globops/log messages #Revision 3081 - Added event to warn modules a nickcore gets a new display nick or is about to be dropped. (This should enable modules to more easily link their data to anopes core data.) #Revision 3080 - Send DROP event when forbidding nicks and channels, if applicable. -- cgit