commit 48d2275: [Minor] Fucking, fucking, fucking trusty

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Dec 27 18:28:06 UTC 2018


Author: Vsevolod Stakhov
Date: 2018-12-11 14:52:58 +0000
URL: https://github.com/rspamd/rspamd/commit/48d2275ed0753761aee2ae16e105b388e16198e3

[Minor] Fucking, fucking, fucking trusty

---
 src/libutil/util.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/libutil/util.c b/src/libutil/util.c
index d69365b6f..68fbd5443 100644
--- a/src/libutil/util.c
+++ b/src/libutil/util.c
@@ -2136,8 +2136,11 @@ rspamd_init_libs (void)
 
 	gint magic_flags = 0;
 
+	/* Unless trusty and other crap is supported... */
+#if 0
 #ifdef MAGIC_NO_CHECK_BUILTIN
 	magic_flags = MAGIC_NO_CHECK_BUILTIN;
+#endif
 #endif
 	magic_flags |= MAGIC_MIME|MAGIC_NO_CHECK_COMPRESS|
 				   MAGIC_NO_CHECK_ELF|MAGIC_NO_CHECK_TAR;


More information about the Commits mailing list