From b297c4aaf4901f439518ca24a9da2069f011be5f Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Thu, 28 Feb 2019 19:01:56 -0500 Subject: set up (most of) a working POSIX/C locale (missing collation) --- src/nonstd/struct_locale_t.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/nonstd/struct_locale_t.c') diff --git a/src/nonstd/struct_locale_t.c b/src/nonstd/struct_locale_t.c index 1bc8e932..3479e22f 100644 --- a/src/nonstd/struct_locale_t.c +++ b/src/nonstd/struct_locale_t.c @@ -22,11 +22,11 @@ struct __locale_t { char *noexpr; } lc_messages; - char *monetary; - char *numeric; + char monetary[UCHAR_MAX]; + char numeric[UCHAR_MAX]; struct lconv mn; - char *time; + char time[UCHAR_MAX]; struct { char *abday[7]; char *day[7]; -- cgit v1.2.1