+2006-05-15 Ulrich Drepper <drepper@redhat.com>
+
+ * dcigettext.c (category_to_name): Adjust for _nl_category_names
+ change.
+
2006-04-06 Ulrich Drepper <drepper@redhat.com>
* finddomain.c (_nl_find_domain): We never return NULL if we found the
/* Implementation of the internal dcigettext function.
- Copyright (C) 1995-1999, 2000-2005 Free Software Foundation, Inc.
+ Copyright (C) 1995-1999, 2000-2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published
#ifdef _LIBC
# include "../locale/localeinfo.h"
-# define category_to_name(category) _nl_category_names[category]
+# define category_to_name(category) \
+ _nl_category_names.str + _nl_category_name_idxs[category]
#else
static const char *category_to_name (int category) internal_function;
#endif