Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/lib/libc/locale Apply patch, requested by joerg in ticket...



details:   https://anonhg.NetBSD.org/src/rev/6c8f26047011
branches:  netbsd-6
changeset: 776425:6c8f26047011
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sat Sep 07 16:11:41 2013 +0000

description:
Apply patch, requested by joerg in ticket #934:
        lib/libc/locale/global_locale.c: patch
provide consistent and correct data for the C locale.

diffstat:

 lib/libc/locale/global_locale.c |  76 ++++++++++++++++++++--------------------
 1 files changed, 38 insertions(+), 38 deletions(-)

diffs (99 lines):

diff -r 34470b414685 -r 6c8f26047011 lib/libc/locale/global_locale.c
--- a/lib/libc/locale/global_locale.c   Sat Sep 07 16:08:13 2013 +0000
+++ b/lib/libc/locale/global_locale.c   Sat Sep 07 16:11:41 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: global_locale.c,v 1.12 2012/01/20 16:31:29 joerg Exp $ */
+/* $NetBSD: global_locale.c,v 1.12.2.1 2013/09/07 16:11:41 bouyer Exp $ */
 
 /*-
  * Copyright (c)2008 Citrus Project,
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: global_locale.c,v 1.12 2012/01/20 16:31:29 joerg Exp $");
+__RCSID("$NetBSD: global_locale.c,v 1.12.2.1 2013/09/07 16:11:41 bouyer Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/types.h>
@@ -77,44 +77,44 @@
        [(size_t)T_FMT_AMPM ] = "%I:%M:%S %p",
        [(size_t)AM_STR     ] = "AM",
        [(size_t)PM_STR     ] = "PM",
-       [(size_t)DAY_1      ] = "Sun",
-       [(size_t)DAY_2      ] = "Mon",
-       [(size_t)DAY_3      ] = "Tue",
-       [(size_t)DAY_4      ] = "Wed",
-       [(size_t)DAY_5      ] = "Thu",
-       [(size_t)DAY_6      ] = "Fri",
-       [(size_t)DAY_7      ] = "Sat",
-       [(size_t)ABDAY_1    ] = "Sunday",
-       [(size_t)ABDAY_2    ] = "Monday",
-       [(size_t)ABDAY_3    ] = "Tuesday",
-       [(size_t)ABDAY_4    ] = "Wednesday",
-       [(size_t)ABDAY_5    ] = "Thursday",
-       [(size_t)ABDAY_6    ] = "Friday",
-       [(size_t)ABDAY_7    ] = "Saturday",
-       [(size_t)MON_1      ] = "Jan",
-       [(size_t)MON_2      ] = "Feb",
-       [(size_t)MON_3      ] = "Mar",
-       [(size_t)MON_4      ] = "Apr",
+       [(size_t)DAY_1      ] = "Sunday",
+       [(size_t)DAY_2      ] = "Monday",
+       [(size_t)DAY_3      ] = "Tuesday",
+       [(size_t)DAY_4      ] = "Wednesday",
+       [(size_t)DAY_5      ] = "Thursday",
+       [(size_t)DAY_6      ] = "Friday",
+       [(size_t)DAY_7      ] = "Saturday",
+       [(size_t)ABDAY_1    ] = "Sun",
+       [(size_t)ABDAY_2    ] = "Mon",
+       [(size_t)ABDAY_3    ] = "Tue",
+       [(size_t)ABDAY_4    ] = "Wed",
+       [(size_t)ABDAY_5    ] = "Thu",
+       [(size_t)ABDAY_6    ] = "Fri",
+       [(size_t)ABDAY_7    ] = "Sat",
+       [(size_t)MON_1      ] = "January",
+       [(size_t)MON_2      ] = "February",
+       [(size_t)MON_3      ] = "March",
+       [(size_t)MON_4      ] = "April",
        [(size_t)MON_5      ] = "May",
-       [(size_t)MON_6      ] = "Jun",
-       [(size_t)MON_7      ] = "Jul",
-       [(size_t)MON_8      ] = "Aug",
-       [(size_t)MON_9      ] = "Sep",
-       [(size_t)MON_10     ] = "Oct",
-       [(size_t)MON_11     ] = "Nov",
-       [(size_t)MON_12     ] = "Dec",
-       [(size_t)ABMON_1    ] = "January",
-       [(size_t)ABMON_2    ] = "February",
-       [(size_t)ABMON_3    ] = "March",
-       [(size_t)ABMON_4    ] = "April",
+       [(size_t)MON_6      ] = "June",
+       [(size_t)MON_7      ] = "July",
+       [(size_t)MON_8      ] = "August",
+       [(size_t)MON_9      ] = "September",
+       [(size_t)MON_10     ] = "October",
+       [(size_t)MON_11     ] = "November",
+       [(size_t)MON_12     ] = "December",
+       [(size_t)ABMON_1    ] = "Jan",
+       [(size_t)ABMON_2    ] = "Feb",
+       [(size_t)ABMON_3    ] = "Mar",
+       [(size_t)ABMON_4    ] = "Apr",
        [(size_t)ABMON_5    ] = "May",
-       [(size_t)ABMON_6    ] = "June",
-       [(size_t)ABMON_7    ] = "July",
-       [(size_t)ABMON_8    ] = "August",
-       [(size_t)ABMON_9    ] = "September",
-       [(size_t)ABMON_10   ] = "October",
-       [(size_t)ABMON_11   ] = "November",
-       [(size_t)ABMON_12   ] = "December",
+       [(size_t)ABMON_6    ] = "Jun",
+       [(size_t)ABMON_7    ] = "Jul",
+       [(size_t)ABMON_8    ] = "Aug",
+       [(size_t)ABMON_9    ] = "Sep",
+       [(size_t)ABMON_10   ] = "Oct",
+       [(size_t)ABMON_11   ] = "Nov",
+       [(size_t)ABMON_12   ] = "Dec",
        [(size_t)RADIXCHAR  ] = ".",
        [(size_t)THOUSEP    ] = "",
        [(size_t)YESSTR     ] = "yes",



Home | Main Index | Thread Index | Old Index