* src/lib/evil_langinfo.c:

* src/lib/evil_langinfo.h:
	add minimal RADIXCHAR support. Must be fixed in
	a better way.



SVN revision: 40995
This commit is contained in:
Vincent Torri 2009-06-10 17:33:18 +00:00
parent 35526933af
commit 0965a704e9
3 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2009-06-10 Vincent Torri <doursse at users dot sf dot net>
* src/lib/evil_langinfo.c:
* src/lib/evil_langinfo.h:
add minimal RADIXCHAR support. Must be fixed in
a better way.
2009-05-20 Vincent Torri <doursse at users dot sf dot net>
reviewed by: Vincent Torri

View File

@ -42,6 +42,11 @@ nl_langinfo(nl_item index)
return result;
}
case RADIXCHAR:
{
/* FIXME: better returned value... */
return ".";
}
}
return nothing;

View File

@ -18,7 +18,8 @@ enum {
* LC_CTYPE category...
* Character set classification items.
*/
_NL_CTYPE_CODESET = __NL_ITEM( LC_CTYPE, 0 ),
_NL_CTYPE_CODESET = __NL_ITEM( LC_CTYPE, 0 ),
_NL_NUMERIC_RADIXCHAR = __NL_ITEM( LC_NUMERIC, 0 ),
/*
* Dummy entry, to terminate the list.
@ -30,6 +31,7 @@ enum {
* Define the public aliases for the enumerated classification indices...
*/
# define CODESET _NL_CTYPE_CODESET
# define RADIXCHAR _NL_NUMERIC_RADIXCHAR
EAPI char *nl_langinfo(nl_item index);