summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@nexenta.com>2010-09-11 07:50:43 -0700
committerGarrett D'Amore <garrett@nexenta.com>2010-09-11 07:50:43 -0700
commit04a6f8c58c26d076f7f02ff5dd23f3532e252101 (patch)
tree5e6ed0aae4c64072a715f5f9f0366b7e2efb97c6
parent803376f094adaaf2e4d9aa1c1d0efd56b642d838 (diff)
downloadillumos-joyent-04a6f8c58c26d076f7f02ff5dd23f3532e252101.tar.gz
169 Lack of "rune" wctype breaks tr -C
Reviewed by: loki@animata.net Approved by: richlowe@richlowe.net
-rw-r--r--usr/src/lib/libc/port/locale/wctype.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/lib/libc/port/locale/wctype.c b/usr/src/lib/libc/port/locale/wctype.c
index 22d28340ba..0147f56a16 100644
--- a/usr/src/lib/libc/port/locale/wctype.c
+++ b/usr/src/lib/libc/port/locale/wctype.c
@@ -57,7 +57,8 @@ wctype(const char *property)
{ "ideogram", _CTYPE_I }, /* BSD extension */
{ "special", _CTYPE_T }, /* BSD extension */
{ "phonogram", _CTYPE_Q }, /* BSD extension */
- { NULL, 0UL }, /* Default */
+ { "rune", -1 }, /* BSD extension */
+ { NULL, 0 }, /* Default */
};
int i;