summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-09-03 03:49:45 -0400
committerAdam <Adam@anope.org>2011-09-03 03:49:45 -0400
commitf1577975a99dc93eff2dd9aa159a93a3c1cf4301 (patch)
treedf016376e07b936cc02c2de64c2e1f7b1631825c
parentfa833766a0bf2f263e4d0bdd105cb7b4a89ebf07 (diff)
Use _exit, not exit, to exit mail forks to prevent our atexit() functions from being called, and removing our pidfile
-rw-r--r--src/mail.c2
-rw-r--r--version.log3
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.