aboutsummaryrefslogtreecommitdiff
path: root/locale/setlocale.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/setlocale.c')
-rw-r--r--locale/setlocale.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/locale/setlocale.c b/locale/setlocale.c
index 8f40520..1fdc94f 100644
--- a/locale/setlocale.c
+++ b/locale/setlocale.c
@@ -307,13 +307,6 @@ setlocale (int category, const char *locale)
while (category-- > 0)
if (category != LC_ALL)
{
- /* XXX hack. Remove when collation works. */
- if (category == LC_COLLATE)
- {
- newdata[category] = NULL;
- continue;
- }
-
newdata[category] = _nl_find_locale (locale_path, locale_path_len,
category,
&newnames[category]);
@@ -350,11 +343,6 @@ setlocale (int category, const char *locale)
return composite;
}
- else if (category == LC_COLLATE)
- {
- /* XXX Remove when LC_COLLATE works. */
- return NULL;
- }
else
{
struct locale_data *newdata = NULL;