Source-Changes archive

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

Re: CVS commit: src (LC_TIME)



Emmanuel Dreyfus <manu%netbsd.org@localhost> typed:
: Module Name:  src
: Committed By: manu
: Date:         Wed Mar 28 19:05:55 UTC 2007
:
: Modified Files:
:       src/doc: CHANGES
:       src/lib/libc/locale: Makefile.inc _def_time.c setlocale.c
: Added Files:
:       src/lib/libc/locale: timeio.c timeio.h
:
: Log Message:
: Add support for LC_TIME, from  Joachim Kuebart, through PR lib/10877

definitions in src/lib/libc/locale/_def_time.c do not match those in
src/sys/sys/localedef.h

Regards,
Geoff

--- lib/libc/locale/_def_time.c.org     2007-03-29 12:08:13.000000000 +1000
+++ lib/libc/locale/_def_time.c 2007-03-29 12:56:38.000000000 +1000
@@ -13,7 +13,7 @@
 #include <sys/localedef.h>
 #include <locale.h>
 
-_TimeLocale _DefaultTimeLocale = 
+const _TimeLocale _DefaultTimeLocale = 
 {
        {
                "Sun","Mon","Tue","Wed","Thu","Fri","Sat",
@@ -39,4 +39,4 @@
        "%I:%M:%S %p"
 };
 
-_TimeLocale *_CurrentTimeLocale = &_DefaultTimeLocale;
+const _TimeLocale *_CurrentTimeLocale = &_DefaultTimeLocale;



Home | Main Index | Thread Index | Old Index