From 714bd261e8d24273b3c34d8e0c3f1d611b79ef6f Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 11 Nov 2013 16:28:03 +0100 Subject: [PATCH] Fix country_num element in LC_ADDRESS for C locale --- ChangeLog | 5 +++++ locale/C-address.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 = "" }, -- 2.47.3