Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-06-16 23:45:17 +0400
committerCorinna Vinschen <corinna@vinschen.de>2009-06-16 23:45:17 +0400
commit999820f6ab8aaf6a281dbb919341fcf2a2f3d119 (patch)
treefc0402507b25fef6a5b6960efa9431a4511749dc /newlib/libc/locale/locale.c
parent4844eaa5f8be7786ade8f681bf376e8a21dd735b (diff)
* libc/include/locale.h (struct lconv): Add missing members required
by POSIX.1-2008. * libc/locale/locale.c (lconv): Initialize new members to default values in "C" locale.
Diffstat (limited to 'newlib/libc/locale/locale.c')
-rw-r--r--newlib/libc/locale/locale.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c
index 6349bd9ad..3b2ffb9d3 100644
--- a/newlib/libc/locale/locale.c
+++ b/newlib/libc/locale/locale.c
@@ -160,6 +160,8 @@ static _CONST struct lconv lconv =
".", "", "", "", "", "", "", "", "", "",
CHAR_MAX, CHAR_MAX, CHAR_MAX, CHAR_MAX,
CHAR_MAX, CHAR_MAX, CHAR_MAX, CHAR_MAX,
+ CHAR_MAX, CHAR_MAX, CHAR_MAX, CHAR_MAX,
+ CHAR_MAX, CHAR_MAX
};
#ifdef _MB_CAPABLE