Merge pull request #4339

92a6220 sanity: hook up sanity checks (Cory Fields)
679240d sanity: add libc/stdlib sanity checks (Cory Fields)
11404af sanity: autoconf check for sys/select.h (Cory Fields)
This commit is contained in:
Wladimir J. van der Laan
2014-06-18 09:18:21 +02:00
6 changed files with 137 additions and 4 deletions

View File

@@ -31,6 +31,7 @@
#ifndef WIN32
#include <signal.h>
#endif
#include "compat/sanity.h"
#include <boost/algorithm/string/predicate.hpp>
#include <boost/filesystem.hpp>
@@ -424,8 +425,8 @@ bool InitSanityCheck(void)
"information, visit https://en.bitcoin.it/wiki/OpenSSL_and_EC_Libraries");
return false;
}
// TODO: remaining sanity checks, see #4081
if (!glibc_sanity_test() || !glibcxx_sanity_test())
return false;
return true;
}