Add tools::on_startup, and warn about glibc 2.25 bug if found

https://sourceware.org/bugzilla/show_bug.cgi?id=21778
This commit is contained in:
moneromooo-monero
2017-10-03 10:12:57 +01:00
parent 86e9de588c
commit 7130cf0c61
8 changed files with 23 additions and 6 deletions
@@ -551,7 +551,7 @@ int main(int argc, char* argv[])
std::string m_config_folder;
std::string db_arg_str;
tools::sanitize_locale();
tools::on_startup();
boost::filesystem::path default_data_path {tools::get_default_data_dir()};
boost::filesystem::path default_testnet_data_path {default_data_path / "testnet"};