Compare commits

...

2 Commits

Author SHA1 Message Date
kikadf 6f403f4930 Merge branch 'master' into master 2022-10-24 05:06:38 -07:00
kikadf d712789c9a Use default way to locale listing on OpenBSD
Listing /usr/share/locale doesn't work, and
already OpenBSD has support for locale.
2022-09-29 14:41:43 +02:00
3 changed files with 0 additions and 12 deletions

View File

@ -865,11 +865,7 @@ _e_intl_locale_system_locales_get(void)
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];

View File

@ -649,11 +649,7 @@ _fill_data(E_Config_Dialog_Data *cfdata)
e_lang_list = e_intl_language_list();
/* Get list of all locales and start making map */
#ifdef __OpenBSD__
output = popen("ls /usr/share/locale", "r");
#else
output = popen("locale -a", "r");
#endif
if ( output )
{
char line[32];

View File

@ -91,11 +91,7 @@ wizard_page_init(E_Wizard_Page *pg EINA_UNUSED, Eina_Bool *need_xdg_desktops EIN
{
FILE *output;
#ifdef __OpenBSD__
output = popen("ls /usr/share/locale", "r");
#else
output = popen("locale -a", "r");
#endif
if (output)
{
char line[32];