Print this page
2964 need POSIX 2008 locale object support
*** 92,102 ****
static char saved_categories[NUM_CATS][ENCODING_LEN + 1];
static char current_locale_string[NUM_CATS * (ENCODING_LEN + 1 + 1)];
static char *currentlocale(void);
static char *loadlocale(int);
- static const char *__get_locale_env(int);
char *
setlocale(int category, const char *locale)
{
int i, j, saverr;
--- 92,101 ----
*** 303,313 ****
}
return (NULL);
}
! static const char *
__get_locale_env(int category)
{
const char *env;
/* 1. check LC_ALL. */
--- 302,312 ----
}
return (NULL);
}
! const char *
__get_locale_env(int category)
{
const char *env;
/* 1. check LC_ALL. */
*** 325,329 ****
--- 324,339 ----
if (env == NULL || !*env)
env = "C";
return (env);
}
+
+ /*
+ * Detect locale storage location and store its value to _PathLocale variable
+ */
+ int
+ __detect_path_locale(void)
+ {
+ /* XXX */
+
+ return (0);
+ }