18590021 array name doesn't support multi-byte characters in tcsh
authorMike Sullivan <Mike.Sullivan@Oracle.COM>
Thu, 15 May 2014 10:33:07 -0700
changeset 1897 9c849cc3d7d5
parent 1896 f83e6dde6c3b
child 1898 5c902a3c6e7e
18590021 array name doesn't support multi-byte characters in tcsh
components/tcsh/patches/005.locale.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/tcsh/patches/005.locale.patch	Thu May 15 10:33:07 2014 -0700
@@ -0,0 +1,14 @@
+--- tcsh-6.18.01/sh.char.h.orig	Thu Apr 17 10:20:22 2014
++++ tcsh-6.18.01/sh.char.h	Thu Apr 17 10:20:38 2014
[email protected]@ -167,9 +167,9 @@
+ #define iscmdmeta(c)	cmap((c), _CMD)
+ #ifdef WIDE_STRINGS
+ #define letter(c)	(((c) & QUOTE) ? 0 :  \
+-			 (iswalpha((tcshuc) (c)) || (c) == '_'))
++			 (iswalpha((c)) || (c) == '_'))
+ #define alnum(c)	(((c) & QUOTE) ? 0 :  \
+-		         (iswalnum((tcshuc) (c)) || (c) == '_'))
++		         (iswalnum((c)) || (c) == '_'))
+ #else
+ #define letter(c)	(((Char)(c) & QUOTE) ? 0 :  \
+ 			 ((isalpha((tcshuc) (c)) && !(cmap((c), _PUN))) \