From: Andreas Schwab Date: Mon, 11 Nov 2013 15:28:03 +0000 (+0100) Subject: Fix country_num element in LC_ADDRESS for C locale X-Git-Tag: glibc-2.19~518 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=714bd261e8d24273b3c34d8e0c3f1d611b79ef6f;p=thirdparty%2Fglibc.git Fix country_num element in LC_ADDRESS for C locale --- diff --git a/ChangeLog b/ChangeLog index e9089c71e9c..60f8a88d34c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-11-14 Andreas Schwab + + * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero + word instead of empty string. + 2013-11-13 Adhemerval Zanella * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c diff --git a/locale/C-address.c b/locale/C-address.c index 060a956f36f..fe6e69e8bad 100644 --- a/locale/C-address.c +++ b/locale/C-address.c @@ -38,7 +38,7 @@ const struct __locale_data _nl_C_LC_ADDRESS attribute_hidden = { .string = "" }, { .string = "" }, { .string = "" }, - { .string = "" }, + { .word = 0 }, { .string = "" }, { .string = "" }, { .string = "" },