forked from enlightenment/enlightenment
E: fix locale on OpenBSD. Maybe other OS need similar fixes
Patch by Maxime Villard (rustyBSD) SVN revision: 75434
This commit is contained in:
parent
84d21bd8e5
commit
d1577525fa
|
@ -853,7 +853,12 @@ _e_intl_locale_system_locales_get(void)
|
|||
FILE *output;
|
||||
|
||||
locales = NULL;
|
||||
/* FIXME: Maybe needed for other BSD OS, or even Solaris */
|
||||
#ifdef __OpenBSD__
|
||||
output = popen("ls /usr/share/locale", "r");
|
||||
#else
|
||||
output = popen("locale -a", "r");
|
||||
#endif
|
||||
if (output)
|
||||
{
|
||||
char line[32];
|
||||
|
|
Loading…
Reference in New Issue