-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
There might be a problem with locales on Solaris 11 operating system. After running a test program using logutil I encountered this error:
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Abort (core dumped)
There are two possible solutions. Either setting environment variables:
export LC_ALL=C; unset LANGUAGE
or changing this line of code in function file_open in file logutil.hpp:
filehandle.imbue(std::locale("C"));
Metadata
Metadata
Assignees
Labels
No labels