View | Details | Raw Unified | Return to bug 10871 | Differences between
and this patch

Collapse All | Expand All

(-)a/ChangeLog (+5 lines)
Lines 1-3 Link Here
1
2017-09-19  Rafal Luzynski  <digitalfreak@lingonborough.com>
2
3
	* locale/loadlocale.c: Correct size of
4
	_nl_value_type_LC_<category> arrays.
5
1
2017-09-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6
2017-09-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2
7
3
	* sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
8
	* sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
(-)a/locale/loadlocale.c (-2 / +2 lines)
Lines 45-51 static const size_t _nl_category_num_items[] = Link Here
45
#define NO_PAREN(arg, rest...) arg, ##rest
45
#define NO_PAREN(arg, rest...) arg, ##rest
46
46
47
#define DEFINE_CATEGORY(category, category_name, items, a) \
47
#define DEFINE_CATEGORY(category, category_name, items, a) \
48
static const enum value_type _nl_value_type_##category[] = { NO_PAREN items };
48
static const enum value_type _nl_value_type_##category     \
49
  [_NL_ITEM_INDEX (_NL_NUM_##category)] = { NO_PAREN items };
49
#define DEFINE_ELEMENT(element, element_name, optstd, type, rest...) \
50
#define DEFINE_ELEMENT(element, element_name, optstd, type, rest...) \
50
  [_NL_ITEM_INDEX (element)] = type,
51
  [_NL_ITEM_INDEX (element)] = type,
51
#include "categories.def"
52
#include "categories.def"
52
- 

Return to bug 10871