]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Detect exp2l as well. Update to 0.5.6.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 10 Jun 2013 12:20:45 +0000 (13:20 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 10 Jun 2013 12:20:45 +0000 (13:20 +0100)
CMakeLists.txt
ChangeLog
config.h.in
src/classifiers/bayes.c

index fe0c2cab8336a6bf58a5f2227d2e4eb9c106e360..ff4be3f1bc6cb532fe674d71fecc0944b2e26fbb 100644 (file)
@@ -10,7 +10,7 @@ PROJECT(rspamd C)
 
 SET(RSPAMD_VERSION_MAJOR 0)
 SET(RSPAMD_VERSION_MINOR 5)
-SET(RSPAMD_VERSION_PATCH 5)
+SET(RSPAMD_VERSION_PATCH 6)
 
 
 SET(RSPAMD_VERSION         "${RSPAMD_VERSION_MAJOR}.${RSPAMD_VERSION_MINOR}.${RSPAMD_VERSION_PATCH}")
@@ -884,6 +884,7 @@ CHECK_FUNCTION_EXISTS(waitpid HAVE_WAITPID)
 CHECK_FUNCTION_EXISTS(flock HAVE_FLOCK)
 CHECK_FUNCTION_EXISTS(tanhl HAVE_TANHL)
 CHECK_FUNCTION_EXISTS(expl HAVE_EXPL)
+CHECK_FUNCTION_EXISTS(exp2l HAVE_EXP2L)
 CHECK_FUNCTION_EXISTS(sendfile HAVE_SENDFILE)
 CHECK_FUNCTION_EXISTS(mkstemp HAVE_MKSTEMP)
 CHECK_FUNCTION_EXISTS(setitimer HAVE_SETITIMER)
index e7310957071353e88d14492b3c370446956a783c..f2c52c79854ff66cf8bf4386ed8c7759ef3deec9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+0.5.6:
+       * Fix bug with counters incrementing in rolling history
+       * Detect expl and exp2l as some systems do not have it
+       * Support input streams without Content-Length
+       * Implement counters output via rspamc and controller interface
+       * Fix bug with udp sockets in fuzzy storage
+
 0.5.5:
        * New bayes normalizator based on inverse chi-square function
        * Various fixes to fuzzy storage
index a39f2d17e0d9f4aa0842c07d7731286aa3236ed2..d959da5b0ec3bbaa5800aefdf7aa5aa49a5f1707 100644 (file)
 #cmakedefine HAVE_TANHL          1
 
 #cmakedefine HAVE_EXPL           1
+#cmakedefine HAVE_EXP2L          1
 
 #cmakedefine HAVE_SA_SIGINFO     1
 
index f8aed3ac7a0347a62b14ae6d229290520badfc50..c892488bdaaa85ac4bff55cd7bddffd7fcec49ea 100644 (file)
@@ -123,6 +123,8 @@ inv_chi_square (gdouble value, gint freedom_deg)
        errno = 0;
 #ifdef HAVE_EXPL
        prob = expl (-value);
+#elif defined(HAVE_EXP2L)
+       prob = exp2l (-value);
 #else
        prob = exp (-value);
 #endif