mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
locale: Remove private union from struct __locale_data
This avoids an alias violation later. This commit also fixes an incorrect double-checked locking idiom in _nl_init_era_entries. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@@ -23,7 +23,7 @@ const struct __locale_data _nl_C_LC_NUMERIC attribute_hidden =
|
||||
{
|
||||
_nl_C_name,
|
||||
NULL, 0, 0, /* no file mapped */
|
||||
{ NULL, }, /* no cached data */
|
||||
NULL, /* No cached data. */
|
||||
UNDELETABLE,
|
||||
0,
|
||||
6,
|
||||
|
Reference in New Issue
Block a user