[uClibc-cvs] uClibc/include langinfo.h,1.4,1.5

Manuel Novoa III mjn3 at uclibc.org
Fri Dec 20 19:27:00 UTC 2002


Update of /var/cvs/uClibc/include
In directory winder:/tmp/cvs-serv18665/include

Modified Files:
	langinfo.h 
Log Message:
The big thing is locale dependent collation support.
Also added outdigit support and (legacy) YESSTR/NOSTR support.


Index: langinfo.h
===================================================================
RCS file: /var/cvs/uClibc/include/langinfo.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- langinfo.h	6 May 2002 07:37:17 -0000	1.4
+++ langinfo.h	20 Dec 2002 19:26:26 -0000	1.5
@@ -356,7 +356,17 @@
   _NL_CTYPE_EXTRA_MAP_14,
   _NL_NUM_LC_CTYPE,
 #else  /* 0 */
-  _NL_CTYPE_CODESET_NAME = _NL_ITEM (__LC_CTYPE, 0),
+  _NL_CTYPE_OUTDIGIT0_MB = _NL_ITEM (__LC_CTYPE, 0),
+  _NL_CTYPE_OUTDIGIT1_MB,
+  _NL_CTYPE_OUTDIGIT2_MB,
+  _NL_CTYPE_OUTDIGIT3_MB,
+  _NL_CTYPE_OUTDIGIT4_MB,
+  _NL_CTYPE_OUTDIGIT5_MB,
+  _NL_CTYPE_OUTDIGIT6_MB,
+  _NL_CTYPE_OUTDIGIT7_MB,
+  _NL_CTYPE_OUTDIGIT8_MB,
+  _NL_CTYPE_OUTDIGIT9_MB,
+  _NL_CTYPE_CODESET_NAME,	/* uClibc note: MUST BE LAST ENTRY!!! */
   CODESET = _NL_CTYPE_CODESET_NAME,
 #define CODESET			CODESET
 #endif /* 0 */
@@ -509,7 +519,6 @@
 #define YESEXPR			__YESEXPR
   __NOEXPR,			/* Regex matching ``no'' input.  */
 #define NOEXPR			__NOEXPR
-#if 0
   __YESSTR,			/* Output string for ``yes''.  */
 #if defined __USE_GNU || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
 # define YESSTR			__YESSTR
@@ -518,6 +527,7 @@
 #if defined __USE_GNU || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
 # define NOSTR			__NOSTR
 #endif
+#if 0
   _NL_MESSAGES_CODESET,
 #endif
   _NL_NUM_LC_MESSAGES,




More information about the uClibc-cvs mailing list