Skip to content
Snippets Groups Projects
Unverified Commit cef0d466 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

locale: disable for libwrap because it breaks the daemon

Change-Id: I4d40967e1def4323696b4ea7b42d449ade9f86f4
parent 6632541d
No related branches found
No related tags found
No related merge requests found
...@@ -65,8 +65,10 @@ public: ...@@ -65,8 +65,10 @@ public:
Lrc::Lrc(MigrationCb willDoMigrationCb, MigrationCb didDoMigrationCb) Lrc::Lrc(MigrationCb willDoMigrationCb, MigrationCb didDoMigrationCb)
{ {
#ifndef ENABLE_LIBWRAP
// Replace locale for timestamps // Replace locale for timestamps
std::locale::global(std::locale("")); std::locale::global(std::locale(""));
#endif
// Ensure Daemon is running/loaded (especially on non-DBus platforms) // Ensure Daemon is running/loaded (especially on non-DBus platforms)
// before instantiating LRC and its members // before instantiating LRC and its members
InstanceManager::instance(); InstanceManager::instance();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment