Blame SOURCES/glibc-rh1505492-undef-35.patch

00db10
commit 7c33f1e52c7ed39416b24c894e61d39eabf6cd14
00db10
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
00db10
Date:   Tue Jul 8 15:02:58 2014 +0530
00db10
00db10
    Fix Wundef warning with SHOJI_IS_RIGHT
00db10
    
00db10
    The macro is not defined anywhere, so it looks like we're convinced
00db10
    that Shoji is wrong :)
00db10
00db10
diff --git a/localedata/tests-mbwc/dat_iswalnum.c b/localedata/tests-mbwc/dat_iswalnum.c
00db10
index a0b457d52fa682bc..b500a83bd70b92a6 100644
00db10
--- a/localedata/tests-mbwc/dat_iswalnum.c
00db10
+++ b/localedata/tests-mbwc/dat_iswalnum.c
00db10
@@ -103,54 +103,23 @@ TST_ISW_LOC (ALNUM, alnum) = {
00db10
 	{
00db10
 	  {  { 0x3000 }, { 0,1,0 }  },  /* IDEO. SPACE	*/
00db10
 	  {  { 0x3020 }, { 0,1,0 }  },  /* POSTAL MARK FACE	*/
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	  {  { 0x3029 }, { 0,1,0 }  },  /* Hangzhou NUM9	*/
00db10
-#else
00db10
 	  {  { 0x3029 }, { 0,0,0 }  },  /* Hangzhou NUM9	*/
00db10
-#endif
00db10
 	  {  { 0x302F }, { 0,1,0 }  },  /* Diacritics(Hangul) */
00db10
 	  {  { 0x3037 }, { 0,1,0 }  },  /* Separator Symbol	*/
00db10
 	  {  { 0x303F }, { 0,1,0 }  },  /* IDEO. HALF SPACE	*/
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	  {  { 0x3041 }, { 0,1,0 }  },  /* HIRAGANA a		*/
00db10
-	  {  { 0x3094 }, { 0,1,0 }  },  /* HIRAGANA u"		*/
00db10
-#else
00db10
 	  {  { 0x3041 }, { 0,0,0 }  },  /* HIRAGANA a		*/
00db10
 	  {  { 0x3094 }, { 0,0,0 }  },  /* HIRAGANA u"		*/
00db10
-#endif
00db10
 	  {  { 0x3099 }, { 0,1,0 }  },  /* SOUND MARK		*/
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	  {  { 0x309E }, { 0,1,0 }  },  /* ITERATION MARK	*/
00db10
-	  {  { 0x30A1 }, { 0,1,0 }  },  /* KATAKANA a		*/
00db10
-	  {  { 0x30FA }, { 0,1,0 }  },  /* KATAKANA wo"	*/
00db10
-#else
00db10
 	  {  { 0x309E }, { 0,0,0 }  },  /* ITERATION MARK	*/
00db10
 	  {  { 0x30A1 }, { 0,0,0 }  },  /* KATAKANA a		*/
00db10
 	  {  { 0x30FA }, { 0,0,0 }  },  /* KATAKANA wo"	*/
00db10
-#endif
00db10
 	  {  { 0x30FB }, { 0,1,0 }  },  /* KATAKANA MID.DOT	*/
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	  {  { 0x30FE }, { 0,1,0 }  },  /* KATAKANA ITERATION	*/
00db10
-#else
00db10
 	  {  { 0x30FE }, { 0,0,0 }  },  /* KATAKANA ITERATION	*/
00db10
-#endif
00db10
 	  {  { 0x3191 }, { 0,1,0 }  },  /* KANBUN REV.MARK	*/
00db10
 	  {  { 0x3243 }, { 0,1,0 }  },  /* IDEO. MARK (reach) */
00db10
 	  {  { 0x32CB }, { 0,1,0 }  },  /* IDEO.TEL.SYM.DEC12 */
00db10
 	  {  { 0x32FE }, { 0,1,0 }  },  /* MARU KATAKANA wo	*/
00db10
 	  {  { 0x33FE }, { 0,1,0 }  },  /* CJK IDEO.TEL.31th	*/
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	  {  { 0x4E00 }, { 0,1,0 }  },  /* CJK UNI.IDEO.	*/
00db10
-	  {  { 0x4E05 }, { 0,1,0 }  },  /* CJK UNI.IDEO.	*/
00db10
-	  {  { 0x4E06 }, { 0,1,0 }  },  /* CJK UNI.IDEO.NON-J	*/
00db10
-	  {  { 0x4E07 }, { 0,1,0 }  },  /* CJK UNI.IDEO.	*/
00db10
-	  {  { 0x4FFF }, { 0,1,0 }  },  /* CJK UNI.IDEO.	*/
00db10
-	  {  { 0x9000 }, { 0,1,0 }  },  /* CJK UNI.IDEO.	*/
00db10
-	  {  { 0x9006 }, { 0,1,0 }  },  /* CJK UNI.IDEO.	*/
00db10
-	  {  { 0x9007 }, { 0,1,0 }  },  /* CJK UNI.IDEO.NON-J	*/
00db10
-	  {  { 0x9FA4 }, { 0,1,0 }  },  /* CJK UNI.IDEO.NON-J	*/
00db10
-	  {  { 0x9FA5 }, { 0,1,0 }  },  /* CJK UNI.IDEO.	*/
00db10
-#else
00db10
 	  {  { 0x4E00 }, { 0,0,0 }  },  /* CJK UNI.IDEO.	*/
00db10
 	  {  { 0x4E05 }, { 0,0,0 }  },  /* CJK UNI.IDEO.	*/
00db10
 	  {  { 0x4E06 }, { 0,0,0 }  },  /* CJK UNI.IDEO.NON-J	*/
00db10
@@ -161,7 +130,6 @@ TST_ISW_LOC (ALNUM, alnum) = {
00db10
 	  {  { 0x9007 }, { 0,0,0 }  },  /* CJK UNI.IDEO.NON-J	*/
00db10
 	  {  { 0x9FA4 }, { 0,0,0 }  },  /* CJK UNI.IDEO.NON-J	*/
00db10
 	  {  { 0x9FA5 }, { 0,0,0 }  },  /* CJK UNI.IDEO.	*/
00db10
-#endif
00db10
 	  {  { 0xFE4F }, { 0,1,0 }  },  /* CJK UNI.IDEO.	*/
00db10
 	  {  { 0xFF0F }, { 0,1,0 }  },  /* FULL SLASH		*/
00db10
 	  {  { 0xFF19 }, { 0,0,0 }  },  /* FULL 9		*/
00db10
@@ -172,19 +140,11 @@ TST_ISW_LOC (ALNUM, alnum) = {
00db10
 	  {  { 0xFF5E }, { 0,1,0 }  },  /* FULL ~ (tilde)	*/
00db10
 	  {  { 0xFF61 }, { 0,1,0 }  },  /* HALF IDEO.STOP. .	*/
00db10
 	  {  { 0xFF65 }, { 0,1,0 }  },  /* HALF KATA MID.DOT	*/
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	  {  { 0xFF66 }, { 0,1,0 }  },  /* HALF KATA WO		*/
00db10
-	  {  { 0xFF6F }, { 0,1,0 }  },  /* HALF KATA tu		*/
00db10
-	  {  { 0xFF70 }, { 0,1,0 }  },  /* HALF KATA PL -	*/
00db10
-	  {  { 0xFF71 }, { 0,1,0 }  },  /* HALF KATA A		*/
00db10
-	  {  { 0xFF9E }, { 0,1,0 }  },  /* HALF KATA MI		*/
00db10
-#else
00db10
 	  {  { 0xFF66 }, { 0,0,0 }  },  /* HALF KATA WO		*/
00db10
 	  {  { 0xFF6F }, { 0,0,0 }  },  /* HALF KATA tu		*/
00db10
 	  {  { 0xFF70 }, { 0,0,0 }  },  /* HALF KATA PL -	*/
00db10
 	  {  { 0xFF71 }, { 0,0,0 }  },  /* HALF KATA A		*/
00db10
 	  {  { 0xFF9E }, { 0,0,0 }  },  /* HALF KATA MI		*/
00db10
-#endif
00db10
 	  {  .is_last = 1 }		  /* last element    */
00db10
 	}
00db10
     },
00db10
diff --git a/localedata/tests-mbwc/dat_iswalpha.c b/localedata/tests-mbwc/dat_iswalpha.c
00db10
index a1fa1d6bfc437d5a..ba71fc0cd73895fd 100644
00db10
--- a/localedata/tests-mbwc/dat_iswalpha.c
00db10
+++ b/localedata/tests-mbwc/dat_iswalpha.c
00db10
@@ -72,54 +72,23 @@ TST_ISW_LOC (ALPHA, alpha)  = {
00db10
 	{
00db10
 	  {  { 0x3000 }, { 0,1,0 }  },  /* IDEO. SPACE	*/
00db10
 	  {  { 0x3020 }, { 0,1,0 }  },  /* POSTAL MARK FACE	*/
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	  {  { 0x3029 }, { 0,1,0 }  },  /* Hangzhou NUM9	*/
00db10
-#else
00db10
 	  {  { 0x3029 }, { 0,0,0 }  },  /* Hangzhou NUM9	*/
00db10
-#endif
00db10
 	  {  { 0x302F }, { 0,1,0 }  },  /* Diacritics(Hangul) */
00db10
 	  {  { 0x3037 }, { 0,1,0 }  },  /* Separator Symbol	*/
00db10
 	  {  { 0x303F }, { 0,1,0 }  },  /* IDEO. HALF SPACE	*/
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	  {  { 0x3041 }, { 0,1,0 }  },  /* HIRAGANA a		*/
00db10
-	  {  { 0x3094 }, { 0,1,0 }  },  /* HIRAGANA u"		*/
00db10
-#else
00db10
 	  {  { 0x3041 }, { 0,0,0 }  },  /* HIRAGANA a		*/
00db10
 	  {  { 0x3094 }, { 0,0,0 }  },  /* HIRAGANA u"		*/
00db10
-#endif
00db10
 	  {  { 0x3099 }, { 0,1,0 }  },  /* SOUND MARK		*/
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	  {  { 0x309E }, { 0,1,0 }  },  /* ITERATION MARK	*/
00db10
-	  {  { 0x30A1 }, { 0,1,0 }  },  /* KATAKANA a		*/
00db10
-	  {  { 0x30FA }, { 0,1,0 }  },  /* KATAKANA wo"		*/
00db10
-#else
00db10
 	  {  { 0x309E }, { 0,0,0 }  },  /* ITERATION MARK	*/
00db10
 	  {  { 0x30A1 }, { 0,0,0 }  },  /* KATAKANA a		*/
00db10
 	  {  { 0x30FA }, { 0,0,0 }  },  /* KATAKANA wo"		*/
00db10
-#endif
00db10
 	  {  { 0x30FB }, { 0,1,0 }  },  /* KATAKANA MID.DOT	*/
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	  {  { 0x30FE }, { 0,1,0 }  },  /* KATAKANA ITERATION	*/
00db10
-#else
00db10
 	  {  { 0x30FE }, { 0,0,0 }  },  /* KATAKANA ITERATION	*/
00db10
-#endif
00db10
 	  {  { 0x3191 }, { 0,1,0 }  },  /* KANBUN REV.MARK	*/
00db10
 	  {  { 0x3243 }, { 0,1,0 }  },  /* IDEO. MARK (reach) */
00db10
 	  {  { 0x32CB }, { 0,1,0 }  },  /* IDEO.TEL.SYM.DEC12 */
00db10
 	  {  { 0x32FE }, { 0,1,0 }  },  /* MARU KATAKANA wo	*/
00db10
 	  {  { 0x33FE }, { 0,1,0 }  },  /* CJK IDEO.TEL.31th	*/
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	  {  { 0x4E00 }, { 0,1,0 }  },  /* CJK UNI.IDEO.	*/
00db10
-	  {  { 0x4E05 }, { 0,1,0 }  },  /* CJK UNI.IDEO.	*/
00db10
-	  {  { 0x4E06 }, { 0,1,0 }  },  /* CJK UNI.IDEO.NON-J	*/
00db10
-	  {  { 0x4E07 }, { 0,1,0 }  },  /* CJK UNI.IDEO.	*/
00db10
-	  {  { 0x4FFF }, { 0,1,0 }  },  /* CJK UNI.IDEO.	*/
00db10
-	  {  { 0x9000 }, { 0,1,0 }  },  /* CJK UNI.IDEO.	*/
00db10
-	  {  { 0x9006 }, { 0,1,0 }  },  /* CJK UNI.IDEO.	*/
00db10
-	  {  { 0x9007 }, { 0,1,0 }  },  /* CJK UNI.IDEO.NON-J	*/
00db10
-	  {  { 0x9FA4 }, { 0,1,0 }  },  /* CJK UNI.IDEO.NON-J	*/
00db10
-	  {  { 0x9FA5 }, { 0,1,0 }  },  /* CJK UNI.IDEO.	*/
00db10
-#else
00db10
 	  {  { 0x4E00 }, { 0,0,0 }  },  /* CJK UNI.IDEO.	*/
00db10
 	  {  { 0x4E05 }, { 0,0,0 }  },  /* CJK UNI.IDEO.	*/
00db10
 	  {  { 0x4E06 }, { 0,0,0 }  },  /* CJK UNI.IDEO.NON-J	*/
00db10
@@ -130,14 +99,9 @@ TST_ISW_LOC (ALPHA, alpha)  = {
00db10
 	  {  { 0x9007 }, { 0,0,0 }  },  /* CJK UNI.IDEO.NON-J	*/
00db10
 	  {  { 0x9FA4 }, { 0,0,0 }  },  /* CJK UNI.IDEO.NON-J	*/
00db10
 	  {  { 0x9FA5 }, { 0,0,0 }  },  /* CJK UNI.IDEO.	*/
00db10
-#endif
00db10
 	  {  { 0xFE4F }, { 0,1,0 }  },  /* CJK UNI.IDEO.	*/
00db10
 	  {  { 0xFF0F }, { 0,1,0 }  },  /* FULL SLASH		*/
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	  {  { 0xFF19 }, { 0,1,0 }  },  /* FULL 9		*/
00db10
-#else
00db10
 	  {  { 0xFF19 }, { 0,0,0 }  },  /* FULL 9		*/
00db10
-#endif
00db10
 	  {  { 0xFF20 }, { 0,1,0 }  },  /* FULL @		*/
00db10
 	  {  { 0xFF3A }, { 0,0,0 }  },  /* FULL Z		*/
00db10
 	  {  { 0xFF40 }, { 0,1,0 }  },  /* FULL GRAVE ACC.	*/
00db10
@@ -145,19 +109,11 @@ TST_ISW_LOC (ALPHA, alpha)  = {
00db10
 	  {  { 0xFF5E }, { 0,1,0 }  },  /* FULL ~ (tilde)	*/
00db10
 	  {  { 0xFF61 }, { 0,1,0 }  },  /* HALF IDEO.STOP. .	*/
00db10
 	  {  { 0xFF65 }, { 0,1,0 }  },  /* HALF KATA MID.DOT	*/
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	  {  { 0xFF66 }, { 0,1,0 }  },  /* HALF KATA WO		*/
00db10
-	  {  { 0xFF6F }, { 0,1,0 }  },  /* HALF KATA tu		*/
00db10
-	  {  { 0xFF70 }, { 0,1,0 }  },  /* HALF KATA PL -	*/
00db10
-	  {  { 0xFF71 }, { 0,1,0 }  },  /* HALF KATA A		*/
00db10
-	  {  { 0xFF9E }, { 0,1,0 }  },  /* HALF KATA MI		*/
00db10
-#else
00db10
 	  {  { 0xFF66 }, { 0,0,0 }  },  /* HALF KATA WO		*/
00db10
 	  {  { 0xFF6F }, { 0,0,0 }  },  /* HALF KATA tu		*/
00db10
 	  {  { 0xFF70 }, { 0,0,0 }  },  /* HALF KATA PL -	*/
00db10
 	  {  { 0xFF71 }, { 0,0,0 }  },  /* HALF KATA A		*/
00db10
 	  {  { 0xFF9E }, { 0,0,0 }  },  /* HALF KATA MI		*/
00db10
-#endif
00db10
 	  {  .is_last = 1 }		  /* last element    */
00db10
 	}
00db10
     },
00db10
diff --git a/localedata/tests-mbwc/dat_iswctype.c b/localedata/tests-mbwc/dat_iswctype.c
00db10
index 38d692954fd29d2b..41111e03bd64e8a8 100644
00db10
--- a/localedata/tests-mbwc/dat_iswctype.c
00db10
+++ b/localedata/tests-mbwc/dat_iswctype.c
00db10
@@ -81,11 +81,7 @@ TST_ISWCTYPE tst_iswctype_loc [] = {
00db10
       {	 { 0x00B9, "digit"  }, { 0,1,0 }  },	   /* SUP 1    */
00db10
       {	 { 0x00BE, "digit"  }, { 0,1,0 }  },	   /* 3/4      */
00db10
       {	 { 0x009F, "graph"  }, { 0,1,0 }  },	   /* CTRL     */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x00A0, "graph"  }, { 0,1,0 }  },	   /* NB SPACE */
00db10
-#else
00db10
       {	 { 0x00A0, "graph"  }, { 0,0,0 }  },	   /* NB SPACE */
00db10
-#endif
00db10
       {	 { 0x00A1, "graph"  }, { 0,0,0 }  },	   /* UD !     */
00db10
       {	 { 0x00B1, "graph"  }, { 0,0,0 }  },	   /* +- sign  */
00db10
       {	 { 0x00B3, "graph"  }, { 0,0,0 }  },	   /* SUP 3    */
00db10
@@ -101,11 +97,7 @@ TST_ISWCTYPE tst_iswctype_loc [] = {
00db10
       {	 { 0x00F8, "graph"  }, { 0,0,0 }  },	   /* o stroke */
00db10
       {	 { 0x00FF, "graph"  }, { 0,0,0 }  },	   /* y dia    */
00db10
       {	 { 0x009F, "print"  }, { 0,1,0 }  },	   /* CTRL     */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x00A0, "print"  }, { 0,1,0 }  },	   /* NB SPACE */
00db10
-#else
00db10
       {	 { 0x00A0, "print"  }, { 0,0,0 }  },	   /* NB SPACE */
00db10
-#endif
00db10
       {	 { 0x00A1, "print"  }, { 0,0,0 }  },	   /* UD !     */
00db10
       {	 { 0x00B1, "print"  }, { 0,0,0 }  },	   /* +- sign  */
00db10
       {	 { 0x00B4, "print"  }, { 0,0,0 }  },	   /* ACUTE    */
00db10
@@ -120,11 +112,7 @@ TST_ISWCTYPE tst_iswctype_loc [] = {
00db10
       {	 { 0x00F8, "print"  }, { 0,0,0 }  },	   /* o stroke */
00db10
       {	 { 0x00FF, "print"  }, { 0,0,0 }  },	   /* y dia    */
00db10
       {	 { 0x009F, "punct"  }, { 0,1,0 }  },	   /* CTRL     */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x00A0, "punct"  }, { 0,1,0 }  },	   /* NB SPACE */
00db10
-#else
00db10
       {	 { 0x00A0, "punct"  }, { 0,0,0 }  },	   /* NB SPACE */
00db10
-#endif
00db10
       {	 { 0x00A1, "punct"  }, { 0,0,0 }  },	   /* UD !     */
00db10
       {	 { 0x00B0, "punct"  }, { 0,0,0 }  },	   /* Degree   */
00db10
       {	 { 0x00B1, "punct"  }, { 0,0,0 }  },	   /* +- sign  */
00db10
@@ -389,42 +377,22 @@ TST_ISWCTYPE tst_iswctype_loc [] = {
00db10
   {
00db10
     { Tiswctype, TST_LOC_eucJP },
00db10
     {
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x3029, "alnum"  }, { 0,1,0 }  },	   /* Hangzhou NUM9	 */
00db10
-#else
00db10
       {	 { 0x3029, "alnum"  }, { 0,0,0 }  },	   /* Hangzhou NUM9	 */
00db10
-#endif
00db10
       {	 { 0xFE4F, "alnum"  }, { 0,1,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
       {	 { 0xFF19, "alnum"  }, { 0,0,0 }  },	   /* FULL 9		 */
00db10
       {	 { 0xFF20, "alnum"  }, { 0,1,0 }  },	   /* FULL @		 */
00db10
       {	 { 0xFF3A, "alnum"  }, { 0,0,0 }  },	   /* FULL Z		 */
00db10
       {	 { 0xFF40, "alnum"  }, { 0,1,0 }  },	   /* FULL GRAVE ACC.	 */
00db10
       {	 { 0xFF5A, "alnum"  }, { 0,0,0 }  },	   /* FULL z		 */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0xFF71, "alnum"  }, { 0,1,0 }  },	   /* HALF KATA A	 */
00db10
-#else
00db10
       {	 { 0xFF71, "alnum"  }, { 0,0,0 }  },	   /* HALF KATA A	 */
00db10
-#endif
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x3029, "alpha"  }, { 0,1,0 }  },	   /* Hangzhou NUM9	 */
00db10
-#else
00db10
       {	 { 0x3029, "alpha"  }, { 0,0,0 }  },	   /* Hangzhou NUM9	 */
00db10
-#endif
00db10
       {	 { 0xFE4F, "alpha"  }, { 0,1,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0xFF19, "alpha"  }, { 0,1,0 }  },	   /* FULL 9		 */
00db10
-#else
00db10
       {	 { 0xFF19, "alpha"  }, { 0,0,0 }  },	   /* FULL 9		 */
00db10
-#endif
00db10
       {	 { 0xFF20, "alpha"  }, { 0,1,0 }  },	   /* FULL @		 */
00db10
       {	 { 0xFF3A, "alpha"  }, { 0,0,0 }  },	   /* FULL Z		 */
00db10
       {	 { 0xFF40, "alpha"  }, { 0,1,0 }  },	   /* FULL GRAVE ACC.	 */
00db10
       {	 { 0xFF5A, "alpha"  }, { 0,0,0 }  },	   /* FULL z		 */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0xFF71, "alpha"  }, { 0,1,0 }  },	   /* HALF KATA A	 */
00db10
-#else
00db10
       {	 { 0xFF71, "alpha"  }, { 0,0,0 }  },	   /* HALF KATA A	 */
00db10
-#endif
00db10
       {	 { 0x0080, "cntrl"  }, { 0,0,0 }  },	   /* CNTRL		 */
00db10
       {	 { 0x3000, "cntrl"  }, { 0,1,0 }  },	   /* IDEO. SPACE	 */
00db10
       {	 { 0x3029, "digit"  }, { 0,1,0 }  },	   /* Hangzhou NUM9	 */
00db10
@@ -433,83 +401,42 @@ TST_ISWCTYPE tst_iswctype_loc [] = {
00db10
       {	 { 0x33FE, "digit"  }, { 0,1,0 }  },	   /* CJK IDEO.TEL.31th	 */
00db10
       {	 { 0xFF19, "digit"  }, { 0,1,0 }  },	   /* FULL 9		 */
00db10
       {	 { 0x3000, "graph"  }, { 0,1,0 }  },	   /* IDEO. SPACE	 */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x3020, "graph"  }, { 0,1,0 }  },	   /* POSTAL MARK FACE	 */
00db10
-      {	 { 0x3029, "graph"  }, { 0,1,0 }  },	   /* Hangzhou NUM9	 */
00db10
-      {	 { 0x302F, "graph"  }, { 0,1,0 }  },	   /* Diacritics(Hangul) */
00db10
-      {	 { 0x3037, "graph"  }, { 0,1,0 }  },	   /* Separator Symbol	 */
00db10
-      {	 { 0x303F, "graph"  }, { 0,1,0 }  },	   /* IDEO. HALF SPACE	 */
00db10
-#else
00db10
       {	 { 0x3020, "graph"  }, { 0,0,0 }  },	   /* POSTAL MARK FACE	 */
00db10
       {	 { 0x3029, "graph"  }, { 0,0,0 }  },	   /* Hangzhou NUM9	 */
00db10
       {	 { 0x302F, "graph"  }, { 0,0,0 }  },	   /* Diacritics(Hangul) */
00db10
       {	 { 0x3037, "graph"  }, { 0,0,0 }  },	   /* Separator Symbol	 */
00db10
       {	 { 0x303F, "graph"  }, { 0,0,0 }  },	   /* IDEO. HALF SPACE	 */
00db10
-#endif
00db10
       /* 29: */
00db10
       {	 { 0x3041, "graph"  }, { 0,0,0 }  },	   /* HIRAGANA a	 */
00db10
       /* Non jis: */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x3094, "graph"  }, { 0,1,0 }  },	   /* HIRAGANA u"	 */
00db10
-#else
00db10
       {	 { 0x3094, "graph"  }, { 0,0,0 }  },	   /* HIRAGANA u"	 */
00db10
-#endif
00db10
       /* Non jis: */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x3099, "graph"  }, { 0,1,0 }  },	   /* SOUND MARK	 */
00db10
-#else
00db10
       {	 { 0x3099, "graph"  }, { 0,0,0 }  },	   /* SOUND MARK	 */
00db10
-#endif
00db10
       {	 { 0x309E, "graph"  }, { 0,0,0 }  },	   /* ITERATION MARK	 */
00db10
       /* 33: */
00db10
       {	 { 0x30A1, "graph"  }, { 0,0,0 }  },	   /* KATAKANA a	 */
00db10
       /* Non jis: */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x30FA, "graph"  }, { 0,1,0 }  },	   /* KATAKANA wo"	 */
00db10
-#else
00db10
       {	 { 0x30FA, "graph"  }, { 0,0,0 }  },	   /* KATAKANA wo"	 */
00db10
-#endif
00db10
       {	 { 0x30FB, "graph"  }, { 0,0,0 }  },	   /* KATAKANA MID.DOT	 */
00db10
       {	 { 0x30FE, "graph"  }, { 0,0,0 }  },	   /* KATAKANA ITERATION */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x3191, "graph"  }, { 0,1,0 }  },	   /* KANBUN REV.MARK	 */
00db10
-      {	 { 0x3243, "graph"  }, { 0,1,0 }  },	   /* IDEO. MARK (reach) */
00db10
-      {	 { 0x32CB, "graph"  }, { 0,1,0 }  },	   /* IDEO.TEL.SYM.DEC12 */
00db10
-      {	 { 0x32FE, "graph"  }, { 0,1,0 }  },	   /* MARU KATAKANA wo	 */
00db10
-      {	 { 0x33FE, "graph"  }, { 0,1,0 }  },	   /* CJK IDEO.TEL.31th	 */
00db10
-#else
00db10
       {	 { 0x3191, "graph"  }, { 0,0,0 }  },	   /* KANBUN REV.MARK	 */
00db10
       {	 { 0x3243, "graph"  }, { 0,0,0 }  },	   /* IDEO. MARK (reach) */
00db10
       {	 { 0x32CB, "graph"  }, { 0,0,0 }  },	   /* IDEO.TEL.SYM.DEC12 */
00db10
       {	 { 0x32FE, "graph"  }, { 0,0,0 }  },	   /* MARU KATAKANA wo	 */
00db10
       {	 { 0x33FE, "graph"  }, { 0,0,0 }  },	   /* CJK IDEO.TEL.31th	 */
00db10
-#endif
00db10
       {	 { 0x4E00, "graph"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
       {	 { 0x4E05, "graph"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x4E06, "graph"  }, { 0,1,0 }  },	   /* CJK UNI.IDEO.NON-J */
00db10
-#else
00db10
       {	 { 0x4E06, "graph"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.NON-J */
00db10
-#endif
00db10
       {	 { 0x4E07, "graph"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
       {	 { 0x4FFF, "graph"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
       {	 { 0x9000, "graph"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
       {	 { 0x9006, "graph"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x9007, "graph"  }, { 0,1,0 }  },	   /* CJK UNI.IDEO.NON-J */
00db10
-      {	 { 0x9FA4, "graph"  }, { 0,1,0 }  },	   /* CJK UNI.IDEO.NON-J */
00db10
-#else
00db10
       {	 { 0x9007, "graph"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.NON-J */
00db10
       {	 { 0x9FA4, "graph"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.NON-J */
00db10
-#endif
00db10
       /* 51 */
00db10
       {	 { 0x9FA5, "graph"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
       /* Non jis: */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0xFE4F, "graph"  }, { 0,1,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
-#else
00db10
       {	 { 0xFE4F, "graph"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
-#endif
00db10
       {	 { 0xFF0F, "graph"  }, { 0,0,0 }  },	   /* FULL SLASH	 */
00db10
       {	 { 0xFF19, "graph"  }, { 0,0,0 }  },	   /* FULL 9		 */
00db10
       {	 { 0xFF20, "graph"  }, { 0,0,0 }  },	   /* FULL @		 */
00db10
@@ -525,82 +452,43 @@ TST_ISWCTYPE tst_iswctype_loc [] = {
00db10
       {	 { 0xFF71, "graph"  }, { 0,0,0 }  },	   /* HALF KATA A	 */
00db10
       {	 { 0xFF9E, "graph"  }, { 0,0,0 }  },	   /* HALF KATA MI	 */
00db10
       {	 { 0x3000, "print"  }, { 0,0,0 }  },	   /* IDEO. SPACE	 */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x3020, "print"  }, { 0,1,0 }  },	   /* POSTAL MARK FACE	 */
00db10
-      {	 { 0x3029, "print"  }, { 0,1,0 }  },	   /* Hangzhou NUM9	 */
00db10
-      {	 { 0x302F, "print"  }, { 0,1,0 }  },	   /* Diacritics(Hangul) */
00db10
-      {	 { 0x3037, "print"  }, { 0,1,0 }  },	   /* Separator Symbol	 */
00db10
-#else
00db10
       {	 { 0x3020, "print"  }, { 0,0,0 }  },	   /* POSTAL MARK FACE	 */
00db10
       {	 { 0x3029, "print"  }, { 0,0,0 }  },	   /* Hangzhou NUM9	 */
00db10
       {	 { 0x302F, "print"  }, { 0,0,0 }  },	   /* Diacritics(Hangul) */
00db10
       {	 { 0x3037, "print"  }, { 0,0,0 }  },	   /* Separator Symbol	 */
00db10
-#endif
00db10
       {	 { 0x4E00, "print"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
       {	 { 0x4E05, "print"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x4E06, "print"  }, { 0,1,0 }  },	   /* CJK UNI.IDEO.NON-J */
00db10
-#else
00db10
       {	 { 0x4E06, "print"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.NON-J */
00db10
-#endif
00db10
       {	 { 0x4E07, "print"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
       {	 { 0x4FFF, "print"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
       {	 { 0x9000, "print"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
       {	 { 0x9006, "print"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x9007, "print"  }, { 0,1,0 }  },	   /* CJK UNI.IDEO.NON-J */
00db10
-      {	 { 0x9FA4, "print"  }, { 0,1,0 }  },	   /* CJK UNI.IDEO.NON-J */
00db10
-#else
00db10
       {	 { 0x9007, "print"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.NON-J */
00db10
       {	 { 0x9FA4, "print"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.NON-J */
00db10
-#endif
00db10
       /* 81: */
00db10
       {	 { 0x9FA5, "print"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
       /* Non jis: */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0xFE4F, "print"  }, { 0,1,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
-#else
00db10
       {	 { 0xFE4F, "print"  }, { 0,0,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
-#endif
00db10
       {	 { 0x3000, "punct"  }, { 0,1,0 }  },	   /* IDEO. SPACE	 */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x3020, "punct"  }, { 0,1,0 }  },	   /* POSTAL MARK FACE	 */
00db10
-      {	 { 0x302F, "punct"  }, { 0,1,0 }  },	   /* Diacritics(Hangul) */
00db10
-      {	 { 0x3037, "punct"  }, { 0,1,0 }  },	   /* FEED Separator	 */
00db10
-      {	 { 0x303F, "punct"  }, { 0,1,0 }  },	   /* IDEO. HALF SPACE	 */
00db10
-#else
00db10
       {	 { 0x3020, "punct"  }, { 0,0,0 }  },	   /* POSTAL MARK FACE	 */
00db10
       {	 { 0x302F, "punct"  }, { 0,0,0 }  },	   /* Diacritics(Hangul) */
00db10
       {	 { 0x3037, "punct"  }, { 0,0,0 }  },	   /* FEED Separator	 */
00db10
       {	 { 0x303F, "punct"  }, { 0,0,0 }  },	   /* IDEO. HALF SPACE	 */
00db10
-#endif
00db10
       {	 { 0x3041, "punct"  }, { 0,1,0 }  },	   /* HIRAGANA a	 */
00db10
       {	 { 0x3094, "punct"  }, { 0,1,0 }  },	   /* HIRAGANA u"	 */
00db10
       /* 90: */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x3099, "punct"  }, { 0,1,0 }  },	   /* SOUND MARK	 */
00db10
-#else
00db10
       {	 { 0x3099, "punct"  }, { 0,0,0 }  },	   /* SOUND MARK	 */
00db10
-#endif
00db10
       {	 { 0x309E, "punct"  }, { 0,1,0 }  },	   /* ITERATION MARK	 */
00db10
       {	 { 0x30A1, "punct"  }, { 0,1,0 }  },	   /* KATAKANA a	 */
00db10
       {	 { 0x30FA, "punct"  }, { 0,1,0 }  },	   /* KATAKANA wo"	 */
00db10
       {	 { 0x30FB, "punct"  }, { 0,0,0 }  },	   /* KATAKANA MID.DOT	 */
00db10
       /* 95: */
00db10
       {	 { 0x30FE, "punct"  }, { 0,1,0 }  },	   /* KATAKANA ITERATION */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x3191, "punct"  }, { 0,1,0 }  },	   /* KANBUN REV.MARK	 */
00db10
-      {	 { 0x3243, "punct"  }, { 0,1,0 }  },	   /* IDEO. MARK (reach) */
00db10
-      {	 { 0x32CB, "punct"  }, { 0,1,0 }  },	   /* IDEO.TEL.SYM.DEC12 */
00db10
-      {	 { 0x32FE, "punct"  }, { 0,1,0 }  },	   /* MARU KATAKANA wo	 */
00db10
-      {	 { 0x33FE, "punct"  }, { 0,1,0 }  },	   /* CJK IDEO.TEL.31th	 */
00db10
-#else
00db10
       {	 { 0x3191, "punct"  }, { 0,0,0 }  },	   /* KANBUN REV.MARK	 */
00db10
       {	 { 0x3243, "punct"  }, { 0,0,0 }  },	   /* IDEO. MARK (reach) */
00db10
       {	 { 0x32CB, "punct"  }, { 0,0,0 }  },	   /* IDEO.TEL.SYM.DEC12 */
00db10
       {	 { 0x32FE, "punct"  }, { 0,0,0 }  },	   /* MARU KATAKANA wo	 */
00db10
       {	 { 0x33FE, "punct"  }, { 0,0,0 }  },	   /* CJK IDEO.TEL.31th	 */
00db10
-#endif
00db10
       {	 { 0x9007, "punct"  }, { 0,1,0 }  },	   /* CJK UNI.IDEO.NON-J */
00db10
       {	 { 0x9FA4, "punct"  }, { 0,1,0 }  },	   /* CJK UNI.IDEO.NON-J */
00db10
       {	 { 0x9FA5, "punct"  }, { 0,1,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
@@ -643,13 +531,8 @@ TST_ISWCTYPE tst_iswctype_loc [] = {
00db10
       {	 { 0xFF66, "jkata"  }, { 0,0,0 }  },	   /* HALF KATA WO	 */
00db10
       {	 { 0xFF6F, "jkata"  }, { 0,0,0 }  },	   /* HALF KATA tu	 */
00db10
       {	 { 0x4E05, "jkanji" }, { 0,0,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      /* <NO_WAIVER>: */
00db10
-      {	 { 0x4E06, "jkanji" }, { 0,1,1 }  },	   /* CJK UNI.IDEO.NON-J */
00db10
-#else
00db10
       /* XXX This character does not exist in EUC-JP.  */
00db10
       {	 { 0x4E06, "jkanji" }, { 0,1,0 }  },	   /* CJK UNI.IDEO.NON-J */
00db10
-#endif
00db10
       {	 { 0x4E07, "jkanji" }, { 0,0,0 }  },	   /* CJK UNI.IDEO.	 */
00db10
       { .is_last = 1 }
00db10
     }
00db10
diff --git a/localedata/tests-mbwc/dat_iswgraph.c b/localedata/tests-mbwc/dat_iswgraph.c
00db10
index f94cec709ad84b74..b9ce0f62e853d66c 100644
00db10
--- a/localedata/tests-mbwc/dat_iswgraph.c
00db10
+++ b/localedata/tests-mbwc/dat_iswgraph.c
00db10
@@ -16,11 +16,7 @@ TST_ISW_LOC (GRAPH, graph) = {
00db10
       {
00db10
 	{  { 0x0080 }, { 0,1,0 }  },	/* CTRL	    */
00db10
 	{  { 0x009F }, { 0,1,0 }  },	/* CTRL	    */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x00A0 }, { 0,1,0 }  },	/* NB SPACE */
00db10
-#else
00db10
 	{  { 0x00A0 }, { 0,0,0 }  },	/* NB SPACE */
00db10
-#endif
00db10
 	{  { 0x00A1 }, { 0,0,0 }  },	/* UD !	    */
00db10
 	{  { 0x00B0 }, { 0,0,0 }  },	/* Degree   */
00db10
 	{  { 0x00B1 }, { 0,0,0 }  },	/* +- sign  */
00db10
@@ -75,73 +71,35 @@ TST_ISW_LOC (GRAPH, graph) = {
00db10
   {   TST_ISW_REC( eucJP, graph )
00db10
       {
00db10
 	{  { 0x3000 }, { 0,1,0 }  },	/* IDEO. SPACE	      */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x3020 }, { 0,1,0 }  },	/* POSTAL MARK FACE   */
00db10
-	{  { 0x3029 }, { 0,1,0 }  },	/* Hangzhou NUM9      */
00db10
-	{  { 0x302F }, { 0,1,0 }  },	/* Diacritics(Hangul) */
00db10
-	{  { 0x3037 }, { 0,1,0 }  },	/* Separator Symbol   */
00db10
-	{  { 0x303F }, { 0,1,0 }  },	/* IDEO. HALF SPACE   */
00db10
-#else
00db10
 	{  { 0x3020 }, { 0,0,0 }  },	/* POSTAL MARK FACE   */
00db10
 	{  { 0x3029 }, { 0,0,0 }  },	/* Hangzhou NUM9      */
00db10
 	{  { 0x302F }, { 0,0,0 }  },	/* Diacritics(Hangul) */
00db10
 	{  { 0x3037 }, { 0,0,0 }  },	/* Separator Symbol   */
00db10
 	{  { 0x303F }, { 0,0,0 }  },	/* IDEO. HALF SPACE   */
00db10
-#endif
00db10
 	{  { 0x3041 }, { 0,0,0 }  },	/* HIRAGANA a	      */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x3094 }, { 0,1,0 }  },	/* HIRAGANA u"	      */  /* non jis */
00db10
-	{  { 0x3099 }, { 0,1,0 }  },	/* SOUND MARK	      */
00db10
-#else
00db10
 	{  { 0x3094 }, { 0,0,0 }  },	/* HIRAGANA u"	      */  /* non jis */
00db10
 	{  { 0x3099 }, { 0,0,0 }  },	/* SOUND MARK	      */
00db10
-#endif
00db10
 	{  { 0x309E }, { 0,0,0 }  },	/* ITERATION MARK     */  /* 10 */
00db10
 	{  { 0x30A1 }, { 0,0,0 }  },	/* KATAKANA a	      */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x30FA }, { 0,1,0 }  },	/* KATAKANA wo"	      */  /* non jis */
00db10
-#else
00db10
 	{  { 0x30FA }, { 0,0,0 }  },	/* KATAKANA wo"	      */  /* non jis */
00db10
-#endif
00db10
 	{  { 0x30FB }, { 0,0,0 }  },	/* KATAKANA MID.DOT   */
00db10
 	{  { 0x30FE }, { 0,0,0 }  },	/* KATAKANA ITERATION */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x3191 }, { 0,1,0 }  },	/* KANBUN REV.MARK    */
00db10
-	{  { 0x3243 }, { 0,1,0 }  },	/* IDEO. MARK (reach) */
00db10
-	{  { 0x32CB }, { 0,1,0 }  },	/* IDEO.TEL.SYM.DEC12 */
00db10
-	{  { 0x32FE }, { 0,1,0 }  },	/* MARU KATAKANA wo   */
00db10
-	{  { 0x33FE }, { 0,1,0 }  },	/* CJK IDEO.TEL.31th  */
00db10
-#else
00db10
 	{  { 0x3191 }, { 0,0,0 }  },	/* KANBUN REV.MARK    */
00db10
 	{  { 0x3243 }, { 0,0,0 }  },	/* IDEO. MARK (reach) */
00db10
 	{  { 0x32CB }, { 0,0,0 }  },	/* IDEO.TEL.SYM.DEC12 */
00db10
 	{  { 0x32FE }, { 0,0,0 }  },	/* MARU KATAKANA wo   */
00db10
 	{  { 0x33FE }, { 0,0,0 }  },	/* CJK IDEO.TEL.31th  */
00db10
-#endif
00db10
 	{  { 0x4E00 }, { 0,0,0 }  },	/* CJK UNI.IDEO.      */  /* 20 */
00db10
 	{  { 0x4E05 }, { 0,0,0 }  },	/* CJK UNI.IDEO.      */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x4E06 }, { 0,1,0 }  },	/* CJK UNI.IDEO.NON-J */
00db10
-#else
00db10
 	{  { 0x4E06 }, { 0,0,0 }  },	/* CJK UNI.IDEO.NON-J */
00db10
-#endif
00db10
 	{  { 0x4E07 }, { 0,0,0 }  },	/* CJK UNI.IDEO.      */
00db10
 	{  { 0x4FFF }, { 0,0,0 }  },	/* CJK UNI.IDEO.      */
00db10
 	{  { 0x9000 }, { 0,0,0 }  },	/* CJK UNI.IDEO.      */
00db10
 	{  { 0x9006 }, { 0,0,0 }  },	/* CJK UNI.IDEO.      */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x9007 }, { 0,1,0 }  },	/* CJK UNI.IDEO.NON-J */
00db10
-	{  { 0x9FA4 }, { 0,1,0 }  },	/* CJK UNI.IDEO.NON-J */
00db10
-#else
00db10
 	{  { 0x9007 }, { 0,0,0 }  },	/* CJK UNI.IDEO.NON-J */
00db10
 	{  { 0x9FA4 }, { 0,0,0 }  },	/* CJK UNI.IDEO.NON-J */
00db10
-#endif
00db10
 	{  { 0x9FA5 }, { 0,0,0 }  },	/* CJK UNI.IDEO.      */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0xFE4F }, { 0,1,0 }  },	/* CJK Wave Low Line  */  /* 30 */
00db10
-#else
00db10
 	{  { 0xFE4F }, { 0,0,0 }  },	/* CJK Wave Low Line  */  /* 30 */
00db10
-#endif
00db10
 	{  { 0xFF0F }, { 0,0,0 }  },	/* FULL SLASH	      */
00db10
 	{  { 0xFF19 }, { 0,0,0 }  },	/* FULL 9	      */
00db10
 	{  { 0xFF20 }, { 0,0,0 }  },	/* FULL @	      */
00db10
diff --git a/localedata/tests-mbwc/dat_iswprint.c b/localedata/tests-mbwc/dat_iswprint.c
00db10
index 57acc7184ccfb00d..5b672e1ad36605dc 100644
00db10
--- a/localedata/tests-mbwc/dat_iswprint.c
00db10
+++ b/localedata/tests-mbwc/dat_iswprint.c
00db10
@@ -16,11 +16,7 @@ TST_ISW_LOC (PRINT, print) = {
00db10
       {
00db10
 	{  { 0x0080 }, { 0,1,0 }  },  /* CTRL     */
00db10
 	{  { 0x009F }, { 0,1,0 }  },  /* CTRL     */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x00A0 }, { 0,1,0 }  },  /* NB SPACE */
00db10
-#else
00db10
 	{  { 0x00A0 }, { 0,0,0 }  },  /* NB SPACE */
00db10
-#endif
00db10
 	{  { 0x00A1 }, { 0,0,0 }  },  /* UD !     */
00db10
 	{  { 0x00B0 }, { 0,0,0 }  },  /* Degree   */
00db10
 	{  { 0x00B1 }, { 0,0,0 }  },  /* +- sign  */
00db10
@@ -78,73 +74,35 @@ TST_ISW_LOC (PRINT, print) = {
00db10
   {   TST_ISW_REC (eucJP, print)
00db10
       {
00db10
 	{  { 0x3000 }, { 0,0,0 }  },  /* IDEO. SPACE        */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x3020 }, { 0,1,0 }  },  /* POSTAL MARK FACE   */
00db10
-	{  { 0x3029 }, { 0,1,0 }  },  /* Hangzhou NUM9      */
00db10
-	{  { 0x302F }, { 0,1,0 }  },  /* Diacritics(Hangul) */
00db10
-	{  { 0x3037 }, { 0,1,0 }  },  /* Separator Symbol   */
00db10
-	{  { 0x303F }, { 0,1,0 }  },  /* IDEO. HALF SPACE   */
00db10
-#else
00db10
 	{  { 0x3020 }, { 0,0,0 }  },  /* POSTAL MARK FACE   */
00db10
 	{  { 0x3029 }, { 0,0,0 }  },  /* Hangzhou NUM9      */
00db10
 	{  { 0x302F }, { 0,0,0 }  },  /* Diacritics(Hangul) */
00db10
 	{  { 0x3037 }, { 0,0,0 }  },  /* Separator Symbol   */
00db10
 	{  { 0x303F }, { 0,0,0 }  },  /* IDEO. HALF SPACE   */
00db10
-#endif
00db10
 	{  { 0x3041 }, { 0,0,0 }  },  /* HIRAGANA a         */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x3094 }, { 0,1,0 }  },  /* HIRAGANA u"        */  /* non jis */
00db10
-	{  { 0x3099 }, { 0,1,0 }  },  /* SOUND MARK         */
00db10
-#else
00db10
 	{  { 0x3094 }, { 0,0,0 }  },  /* HIRAGANA u"        */  /* non jis */
00db10
 	{  { 0x3099 }, { 0,0,0 }  },  /* SOUND MARK         */
00db10
-#endif
00db10
 	{  { 0x309E }, { 0,0,0 }  },  /* ITERATION MARK     */  /* 10 */
00db10
 	{  { 0x30A1 }, { 0,0,0 }  },  /* KATAKANA a         */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x30FA }, { 0,1,0 }  },  /* KATAKANA wo"       */  /* non jis */
00db10
-#else
00db10
 	{  { 0x30FA }, { 0,0,0 }  },  /* KATAKANA wo"       */  /* non jis */
00db10
-#endif
00db10
 	{  { 0x30FB }, { 0,0,0 }  },  /* KATAKANA MID.DOT   */
00db10
 	{  { 0x30FE }, { 0,0,0 }  },  /* KATAKANA ITERATION */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x3191 }, { 0,1,0 }  },  /* KANBUN REV.MARK    */
00db10
-	{  { 0x3243 }, { 0,1,0 }  },  /* IDEO. MARK (reach) */
00db10
-	{  { 0x32CB }, { 0,1,0 }  },  /* IDEO.TEL.SYM.DEC12 */
00db10
-	{  { 0x32FE }, { 0,1,0 }  },  /* MARU KATAKANA wo   */
00db10
-	{  { 0x33FE }, { 0,1,0 }  },  /* CJK IDEO.TEL.31th  */
00db10
-#else
00db10
 	{  { 0x3191 }, { 0,0,0 }  },  /* KANBUN REV.MARK    */
00db10
 	{  { 0x3243 }, { 0,0,0 }  },  /* IDEO. MARK (reach) */
00db10
 	{  { 0x32CB }, { 0,0,0 }  },  /* IDEO.TEL.SYM.DEC12 */
00db10
 	{  { 0x32FE }, { 0,0,0 }  },  /* MARU KATAKANA wo   */
00db10
 	{  { 0x33FE }, { 0,0,0 }  },  /* CJK IDEO.TEL.31th  */
00db10
-#endif
00db10
 	{  { 0x4E00 }, { 0,0,0 }  },  /* CJK UNI.IDEO.      */  /* 20 */
00db10
 	{  { 0x4E05 }, { 0,0,0 }  },  /* CJK UNI.IDEO.      */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x4E06 }, { 0,1,0 }  },  /* CJK UNI.IDEO.NON-J */
00db10
-#else
00db10
 	{  { 0x4E06 }, { 0,0,0 }  },  /* CJK UNI.IDEO.NON-J */
00db10
-#endif
00db10
 	{  { 0x4E07 }, { 0,0,0 }  },  /* CJK UNI.IDEO.      */
00db10
 	{  { 0x4FFF }, { 0,0,0 }  },  /* CJK UNI.IDEO.      */
00db10
 	{  { 0x9000 }, { 0,0,0 }  },  /* CJK UNI.IDEO.      */
00db10
 	{  { 0x9006 }, { 0,0,0 }  },  /* CJK UNI.IDEO.      */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x9007 }, { 0,1,0 }  },  /* CJK UNI.IDEO.NON-J */
00db10
-	{  { 0x9FA4 }, { 0,1,0 }  },  /* CJK UNI.IDEO.NON-J */
00db10
-#else
00db10
 	{  { 0x9007 }, { 0,0,0 }  },  /* CJK UNI.IDEO.NON-J */
00db10
 	{  { 0x9FA4 }, { 0,0,0 }  },  /* CJK UNI.IDEO.NON-J */
00db10
-#endif
00db10
 	{  { 0x9FA5 }, { 0,0,0 }  },  /* CJK UNI.IDEO.      */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0xFE4F }, { 0,1,0 }  },  /* WAVE LOW LINE      */  /* 30 */
00db10
-#else
00db10
 	{  { 0xFE4F }, { 0,0,0 }  },  /* WAVE LOW LINE      */  /* 30 */
00db10
-#endif
00db10
 	{  { 0xFF0F }, { 0,0,0 }  },  /* FULL SLASH         */
00db10
 	{  { 0xFF19 }, { 0,0,0 }  },  /* FULL 9             */
00db10
 	{  { 0xFF20 }, { 0,0,0 }  },  /* FULL @             */
00db10
diff --git a/localedata/tests-mbwc/dat_iswpunct.c b/localedata/tests-mbwc/dat_iswpunct.c
00db10
index b31e1bd50f1117f0..c51e740547a12564 100644
00db10
--- a/localedata/tests-mbwc/dat_iswpunct.c
00db10
+++ b/localedata/tests-mbwc/dat_iswpunct.c
00db10
@@ -16,11 +16,7 @@ TST_ISW_LOC (PUNCT, punct) = {
00db10
       {
00db10
 	{  { 0x0080 }, { 0,1,0 }  },	/* CTRL	    */
00db10
 	{  { 0x009F }, { 0,1,0 }  },	/* CTRL	    */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x00A0 }, { 0,1,0 }  },	/* NB SPACE */
00db10
-#else
00db10
 	{  { 0x00A0 }, { 0,0,0 }  },	/* NB SPACE */
00db10
-#endif
00db10
 	{  { 0x00A1 }, { 0,0,0 }  },	/* UD !	    */
00db10
 	{  { 0x00B0 }, { 0,0,0 }  },	/* Degree   */
00db10
 	{  { 0x00B1 }, { 0,0,0 }  },	/* +- sign  */
00db10
@@ -75,46 +71,24 @@ TST_ISW_LOC (PUNCT, punct) = {
00db10
   {   TST_ISW_REC (eucJP, punct)
00db10
       {
00db10
 	{  { 0x3000 }, { 0,1,0 }  },	/* IDEO. SPACE	      */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x3020 }, { 0,1,0 }  },	/* POSTAL MARK FACE   */
00db10
-#else
00db10
 	{  { 0x3020 }, { 0,0,0 }  },	/* POSTAL MARK FACE   */
00db10
-#endif
00db10
 	{  { 0x3029 }, { 0,1,0 }  },	/* Hangzhou NUM9      */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x302F }, { 0,1,0 }  },	/* Diacritics(Hangul) */
00db10
-	{  { 0x3037 }, { 0,1,0 }  },	/* Separator Symbol   */
00db10
-	{  { 0x303F }, { 0,1,0 }  },	/* IDEO. HALF SPACE   */
00db10
-#else
00db10
 	{  { 0x302F }, { 0,0,0 }  },	/* Diacritics(Hangul) */
00db10
 	{  { 0x3037 }, { 0,0,0 }  },	/* Separator Symbol   */
00db10
 	{  { 0x303F }, { 0,0,0 }  },	/* IDEO. HALF SPACE   */
00db10
-#endif
00db10
 	{  { 0x3041 }, { 0,1,0 }  },	/* HIRAGANA a	      */
00db10
 	{  { 0x3094 }, { 0,1,0 }  },	/* HIRAGANA u"	      */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x3099 }, { 0,1,0 }  },	/* SOUND MARK	      */
00db10
-#else
00db10
 	{  { 0x3099 }, { 0,0,0 }  },	/* SOUND MARK	      */
00db10
-#endif
00db10
 	{  { 0x309E }, { 0,1,0 }  },	/* ITERATION MARK     */  /* 10 */
00db10
 	{  { 0x30A1 }, { 0,1,0 }  },	/* KATAKANA a	      */
00db10
 	{  { 0x30FA }, { 0,1,0 }  },	/* KATAKANA wo"	      */
00db10
 	{  { 0x30FB }, { 0,0,0 }  },	/* KATAKANA MID.DOT   */
00db10
 	{  { 0x30FE }, { 0,1,0 }  },	/* KATAKANA ITERATION */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0x3191 }, { 0,1,0 }  },	/* KANBUN REV.MARK    */
00db10
-	{  { 0x3243 }, { 0,1,0 }  },	/* IDEO. MARK (reach) */
00db10
-	{  { 0x32CB }, { 0,1,0 }  },	/* IDEO.TEL.SYM.DEC12 */
00db10
-	{  { 0x32FE }, { 0,1,0 }  },	/* MARU KATAKANA wo   */
00db10
-	{  { 0x33FE }, { 0,1,0 }  },	/* CJK IDEO.TEL.31th  */
00db10
-#else
00db10
 	{  { 0x3191 }, { 0,0,0 }  },	/* KANBUN REV.MARK    */
00db10
 	{  { 0x3243 }, { 0,0,0 }  },	/* IDEO. MARK (reach) */
00db10
 	{  { 0x32CB }, { 0,0,0 }  },	/* IDEO.TEL.SYM.DEC12 */
00db10
 	{  { 0x32FE }, { 0,0,0 }  },	/* MARU KATAKANA wo   */
00db10
 	{  { 0x33FE }, { 0,0,0 }  },	/* CJK IDEO.TEL.31th  */
00db10
-#endif
00db10
 	{  { 0x4E00 }, { 0,1,0 }  },	/* CJK UNI.IDEO.      */  /* 20 */
00db10
 	{  { 0x4E05 }, { 0,1,0 }  },	/* CJK UNI.IDEO.      */
00db10
 	{  { 0x4E06 }, { 0,1,0 }  },	/* CJK UNI.IDEO.NON-J */
00db10
@@ -125,11 +99,7 @@ TST_ISW_LOC (PUNCT, punct) = {
00db10
 	{  { 0x9007 }, { 0,1,0 }  },	/* CJK UNI.IDEO.NON-J */
00db10
 	{  { 0x9FA4 }, { 0,1,0 }  },	/* CJK UNI.IDEO.NON-J */
00db10
 	{  { 0x9FA5 }, { 0,1,0 }  },	/* CJK UNI.IDEO.      */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{  { 0xFE4F }, { 0,1,0 }  },	/* CJK UNI.IDEO.      */  /* 30 */
00db10
-#else
00db10
 	{  { 0xFE4F }, { 0,0,0 }  },	/* CJK UNI.IDEO.      */  /* 30 */
00db10
-#endif
00db10
 	{  { 0xFF0F }, { 0,0,0 }  },	/* FULL SLASH	      */
00db10
 	{  { 0xFF19 }, { 0,1,0 }  },	/* FULL 9	      */
00db10
 	{  { 0xFF20 }, { 0,0,0 }  },	/* FULL @	      */
00db10
diff --git a/localedata/tests-mbwc/dat_mbrlen.c b/localedata/tests-mbwc/dat_mbrlen.c
00db10
index a21ab762a8bf5a35..61e84231158a245d 100644
00db10
--- a/localedata/tests-mbwc/dat_mbrlen.c
00db10
+++ b/localedata/tests-mbwc/dat_mbrlen.c
00db10
@@ -123,13 +123,9 @@ TST_MBRLEN tst_mbrlen_loc [] = {
00db10
 	{
00db10
 	  {
00db10
 	    { 0,		1, -2,		     },
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	    { 0,		1, +2,		     },
00db10
-#else
00db10
 	    /* XXX ISO C explicitly says that the return value does not
00db10
 	       XXX reflect the bytes contained in the state.  */
00db10
 	    { 0,		1, +1,		     },
00db10
-#endif
00db10
 	    { 0,		1,  2,		     },
00db10
 	  }
00db10
 	}
00db10
diff --git a/localedata/tests-mbwc/dat_mbstowcs.c b/localedata/tests-mbwc/dat_mbstowcs.c
00db10
index cabe4cdf2408d475..32aa8065c3e85002 100644
00db10
--- a/localedata/tests-mbwc/dat_mbstowcs.c
00db10
+++ b/localedata/tests-mbwc/dat_mbstowcs.c
00db10
@@ -107,19 +107,9 @@ TST_MBSTOWCS tst_mbstowcs_loc [] = {
00db10
       { /*----------------- #02 -----------------*/
00db10
 	{
00db10
 	  {
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	    /* XXX I really don't understand the first and third line.
00db10
-	       the result of the first line is the same as the first
00db10
-	       in the last test (i.e., returns 6).  Also, the third
00db10
-	       test will simply convert everything.  */
00db10
-	    { 1,  1, "\244\242\244\244\244\246ABC",      7 },
00db10
-	    { 1,  1, "",                                 1 },
00db10
-	    { 0,  1, "\244\242\244\244\244\246ABC",      7 },
00db10
-#else
00db10
 	    { 1,  1, "\244\242\244\244\244\246ABC",      4 },
00db10
 	    { 1,  1, "",                                 1 },
00db10
 	    { 0,  1, "\244\242\244\244\244\246ABC",      0 },
00db10
-#endif
00db10
 	  }
00db10
 	},
00db10
 	{
00db10
diff --git a/localedata/tests-mbwc/dat_mbtowc.c b/localedata/tests-mbwc/dat_mbtowc.c
00db10
index 95edb684d321eec2..ee2bdcb74b4202e0 100644
00db10
--- a/localedata/tests-mbwc/dat_mbtowc.c
00db10
+++ b/localedata/tests-mbwc/dat_mbtowc.c
00db10
@@ -248,12 +248,8 @@ TST_MBTOWC tst_mbtowc_loc [] = {
00db10
 	},
00db10
 	{
00db10
 	  {
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	    { EILSEQ,  1, -1,   0x0000 },
00db10
-#else
00db10
 	    /* XXX EILSEQ was introduced in ISO C99.  */
00db10
 	    { 0,	  1, -1,   0x0000 },
00db10
-#endif
00db10
 	    { 0,       1,  2,   0x3042 },
00db10
 	    { 0,       1,  2,   0x3042 },
00db10
 	  }
00db10
@@ -270,11 +266,7 @@ TST_MBTOWC tst_mbtowc_loc [] = {
00db10
 	{
00db10
 	  {
00db10
 	    { 0,  1, +1,   0x007F },
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	    { EILSEQ,  1, -1,   0x0000 },
00db10
-#else
00db10
 	    { 0,  1, -1,   0x0000 },
00db10
-#endif
00db10
 	    { 0,  1, +1,   0x0081 },
00db10
 	  }
00db10
 	}
00db10
@@ -290,12 +282,8 @@ TST_MBTOWC tst_mbtowc_loc [] = {
00db10
 	{
00db10
 	  {
00db10
 	    { 0,  1,  0,   0x0000 },
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	    { EILSEQ,  1, -1,   0x0000 },
00db10
-#else
00db10
 	    /* XXX EILSEQ was introduced in ISO C99.  */
00db10
 	    { 0,       1, -1,   0x0000 },
00db10
-#endif
00db10
 	    { 0,  1,  2,   0x0000 },
00db10
 	  }
00db10
 	}
00db10
diff --git a/localedata/tests-mbwc/dat_strcoll.c b/localedata/tests-mbwc/dat_strcoll.c
00db10
index 168425ce0640eb74..b729ae9e894a3757 100644
00db10
--- a/localedata/tests-mbwc/dat_strcoll.c
00db10
+++ b/localedata/tests-mbwc/dat_strcoll.c
00db10
@@ -72,22 +72,14 @@ TST_STRCOLL tst_strcoll_loc [] = {
00db10
       {
00db10
 	/* <WAIVER> */
00db10
 	/*input.*/ { "B",	"a"		      },  /* #4 */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	/*expect*/ { 0,0,-1,			      },
00db10
-#else
00db10
 		   /* XXX We are not testing the C locale.  */
00db10
 	/*expect*/ { 0,0,+1,			      },
00db10
-#endif
00db10
       },
00db10
       {
00db10
 	/* <WAIVER> */
00db10
 	/*input.*/ { "a",	"B"		      },  /* #5 */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	/*expect*/ { 0,0,+1,			      },
00db10
-#else
00db10
 		   /* XXX We are not testing the C locale.  */
00db10
 	/*expect*/ { 0,0,-1,			      },
00db10
-#endif
00db10
       },
00db10
       { /*input.*/ { "b",	"A"		      },  /* #6 */
00db10
 	/*expect*/ { 0,0,+1,			      },
00db10
diff --git a/localedata/tests-mbwc/dat_swscanf.c b/localedata/tests-mbwc/dat_swscanf.c
00db10
index 08fd2d508c6ebc6d..7f6583222a744533 100644
00db10
--- a/localedata/tests-mbwc/dat_swscanf.c
00db10
+++ b/localedata/tests-mbwc/dat_swscanf.c
00db10
@@ -61,13 +61,8 @@ TST_SWSCANF tst_swscanf_loc [] =
00db10
       },
00db10
 	  L"1%d:2%d:3%d:4%d:5%d:6%d:7%d:8%d:9%d", 0
00db10
       },
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	{ 1,EINVAL,1,WEOF,
00db10
-	  0,0,0,0,"", { 0x0000 },
00db10
-#else
00db10
 	{ 0,1,0,
00db10
 	  0,0,0,0,"", { 0x0000 },
00db10
-#endif
00db10
 	},
00db10
       },
00db10
       /*---------------------------------------------------*/
00db10
@@ -155,22 +150,6 @@ TST_SWSCANF tst_swscanf_loc [] =
00db10
 	  0, 1, 3.9, 'a', "cd", { 0x0000 }
00db10
 	},
00db10
       },
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      /* XXX This test does not make sense.  The format string is
00db10
-	 L"\x1\x2\x25\x53" and it is supposed to match the words
00db10
-	 0x30A2, 0x30A4, 0x0001.  */
00db10
-      /*------------------------ 04 -----------------------*/
00db10
-      /* <NO_WAIVER> x 2 */
00db10
-      { { {
00db10
-	0x30A2, 0x30A4, 0x0001, 0x0000
00db10
-      },
00db10
-	  { 0x0001,0x0002,0x0025,0x0053,0x0000 }, 'S'
00db10
-      },
00db10
-	{ EILSEQ,1,EOF,
00db10
-	  0,0,0,0,"", { 0x0000 }
00db10
-	},
00db10
-      },
00db10
-#endif
00db10
       /*---------------------------------------------------*/
00db10
       { .is_last = 1}	/* Last element.  */
00db10
     }
00db10
diff --git a/localedata/tests-mbwc/dat_towctrans.c b/localedata/tests-mbwc/dat_towctrans.c
00db10
index e7fe1dc028cf4885..9c01701ec60e5bbd 100644
00db10
--- a/localedata/tests-mbwc/dat_towctrans.c
00db10
+++ b/localedata/tests-mbwc/dat_towctrans.c
00db10
@@ -38,11 +38,7 @@ TST_TOWCTRANS tst_towctrans_loc [] = {
00db10
   {
00db10
     { Ttowctrans, TST_LOC_C },
00db10
     {
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x0010, "xxxxxxx" }, { EINVAL,1,0x0010 }  },
00db10
-#else
00db10
       {	 { 0x0010, "xxxxxxx" }, { 0,     1,0x0010 }  },
00db10
-#endif
00db10
       {	 { 0x007F, "tolower" }, { 0,	   1,0x007F }  },
00db10
       {	 { 0x0061, "toupper" }, { 0,	   1,0x0041 }  },
00db10
       {	 { 0x0041, "tolower" }, { 0,	   1,0x0061 }  },
00db10
@@ -52,11 +48,7 @@ TST_TOWCTRANS tst_towctrans_loc [] = {
00db10
   {
00db10
     { Ttowctrans, TST_LOC_de },
00db10
     {
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x0010, "tojkata" }, { EINVAL,1,0x0010 }  },
00db10
-#else
00db10
       {	 { 0x0010, "tojkata" }, { 0,     1,0x0010 }  },
00db10
-#endif
00db10
       {	 { 0x0080, "tolower" }, { 0,	   1,0x0080 }  },
00db10
       {	 { 0x00EC, "toupper" }, { 0,	   1,0x00CC }  },
00db10
       {	 { 0x00CC, "tolower" }, { 0,	   1,0x00EC }  },
00db10
@@ -66,11 +58,7 @@ TST_TOWCTRANS tst_towctrans_loc [] = {
00db10
   {
00db10
     { Ttowctrans, TST_LOC_enUS },
00db10
     {
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      {	 { 0x0010, "xxxxxxx" }, { EINVAL,1,0x0010 }  },
00db10
-#else
00db10
       {	 { 0x0010, "xxxxxxx" }, { 0,     1,0x0010 }  },
00db10
-#endif
00db10
       {	 { 0x007F, "tolower" }, { 0,	   1,0x007F }  },
00db10
       {	 { 0x0061, "toupper" }, { 0,	   1,0x0041 }  },
00db10
       {	 { 0x0041, "tolower" }, { 0,	   1,0x0061 }  },
00db10
diff --git a/localedata/tests-mbwc/dat_wcscoll.c b/localedata/tests-mbwc/dat_wcscoll.c
00db10
index cfc3f85c90eff8b4..5e2fbbe65ca0c789 100644
00db10
--- a/localedata/tests-mbwc/dat_wcscoll.c
00db10
+++ b/localedata/tests-mbwc/dat_wcscoll.c
00db10
@@ -104,18 +104,6 @@ TST_WCSCOLL tst_wcscoll_loc [] = {
00db10
 			 { 0x0041,0x0041,0x0043,0x0000 }, },  /* #4 */
00db10
 	    /*expect*/ { 0,0,0, -1,			  },
00db10
 	  },
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	  /* <WAIVER> */ /* assume ascii */
00db10
-	  { /*input.*/ { { 0x0041,0x0042,0x0043,0x0000 },
00db10
-			 { 0x0041,0x0061,0x0043,0x0000 }, },  /* #5 */
00db10
-	    /*expect*/ { 0,0,0, -1,			  },
00db10
-	  },
00db10
-	  /* <WAIVER> */ /* assume ascii */
00db10
-	  { /*input.*/ { { 0x0041,0x0061,0x0043,0x0000 },
00db10
-			 { 0x0041,0x0042,0x0043,0x0000 }, },  /* #6 */
00db10
-	    /*expect*/ { 0,0,0, +1,			  },
00db10
-	  },
00db10
-#else
00db10
 	  /* XXX Correct order is lowercase before uppercase.  */
00db10
 	  { /*input.*/ { { 0x0041,0x0042,0x0043,0x0000 },
00db10
 			 { 0x0041,0x0061,0x0043,0x0000 }, },  /* #5 */
00db10
@@ -125,7 +113,6 @@ TST_WCSCOLL tst_wcscoll_loc [] = {
00db10
 			 { 0x0041,0x0042,0x0043,0x0000 }, },  /* #6 */
00db10
 	    /*expect*/ { 0,0,0, -1,			  },
00db10
 	  },
00db10
-#endif
00db10
 	  { /*input.*/ { { 0x0041,0x0042,0x0000	       },
00db10
 			 { 0x0041,0x0042,0x0049,0x0000 }, },  /* #7 */
00db10
 	    /*expect*/ { 0,0,0, -1,			  },
00db10
@@ -134,16 +121,6 @@ TST_WCSCOLL tst_wcscoll_loc [] = {
00db10
 			 { 0x0041,0x0042,0x0000	       }, },  /* #8 */
00db10
 	    /*expect*/ { 0,0,0, +1,			  },
00db10
 	  },
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	  { /*input.*/ { { 0x0041,0x0092,0x0049,0x0000 },
00db10
-			 { 0x0041,0x008E,0x0049,0x0000 }, },  /* #9 */
00db10
-	    /*expect*/ { 0,0,0, +1,		       },
00db10
-	  },
00db10
-	  { /*input.*/ { { 0x0041,0x008E,0x0049,0x0000 },
00db10
-			 { 0x0041,0x0092,0x0049,0x0000 }, },  /* #10 */
00db10
-	    /*expect*/ { 0,0,0, -1,		       },
00db10
-	  },
00db10
-#else
00db10
 	  /* Do not assume position of character out of range.  */
00db10
 	  { /*input.*/ { { 0x0041,0x0092,0x0049,0x0000 },
00db10
 			 { 0x0041,0x008E,0x0049,0x0000 }, },  /* #9 */
00db10
@@ -153,7 +130,6 @@ TST_WCSCOLL tst_wcscoll_loc [] = {
00db10
 			 { 0x0041,0x0092,0x0049,0x0000 }, },  /* #10 */
00db10
 	    /*expect*/ { 0,0,0, 0,		       },
00db10
 	  },
00db10
-#endif
00db10
 	  { .is_last = 1 }
00db10
 	}
00db10
     },
00db10
diff --git a/localedata/tests-mbwc/dat_wcswidth.c b/localedata/tests-mbwc/dat_wcswidth.c
00db10
index 68054e797fbef427..c030b3ba2e1e699a 100644
00db10
--- a/localedata/tests-mbwc/dat_wcswidth.c
00db10
+++ b/localedata/tests-mbwc/dat_wcswidth.c
00db10
@@ -56,11 +56,7 @@ TST_WCSWIDTH tst_wcswidth_loc [] = {
00db10
 	/*expect*/ { 0,1,-1				   },
00db10
       },
00db10
       { /*input.*/ { { 0x00C1,0x00A0,0x0000 },		 2 },  /* 16 */
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	/*expect*/ { 0,1,-1				   },
00db10
-#else
00db10
 	/*expect*/ { 0,1,2				   },
00db10
-#endif
00db10
       },
00db10
       { /*input.*/ { { 0x00C1,0x00A1,0x0000 },		 2 },  /* 17 */
00db10
 	/*expect*/ { 0,1,2				   },
00db10
@@ -89,21 +85,12 @@ TST_WCSWIDTH tst_wcswidth_loc [] = {
00db10
       { /*input.*/ { { 0x0041,0x0042,0x00C3,0x0000 },	 2 },  /* 03 */
00db10
 	/*expect*/ { 0,1,2				   },
00db10
       },
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      { /*input.*/ { { 0x0041,0x0042,0x00C3,0x0000 },	 3 },  /* 04 */
00db10
-	/*expect*/ { 0,1,3				   },
00db10
-      },
00db10
-      { /*input.*/ { { 0x0041,0x0042,0x00C3,0x0000 },	 4 },  /* 05 */
00db10
-	/*expect*/ { 0,1,3				   },
00db10
-      },
00db10
-#else
00db10
       { /*input.*/ { { 0x0041,0x0042,0x00C3,0x0000 },	 3 },  /* 04 */
00db10
 	/*expect*/ { 0,1,-1				   },
00db10
       },
00db10
       { /*input.*/ { { 0x0041,0x0042,0x0043,0x0000 },	 4 },  /* 05 */
00db10
 	/*expect*/ { 0,1,3				   },
00db10
       },
00db10
-#endif
00db10
       { /*input.*/ { { 0x0000 },			 1 },  /* 06 */
00db10
 	/*expect*/ { 0,1,0				   },
00db10
       },
00db10
@@ -137,21 +124,12 @@ TST_WCSWIDTH tst_wcswidth_loc [] = {
00db10
       { /*input.*/ { { 0x0041,0x00A0,0x0000 },		 2 },  /* 16 */
00db10
 	/*expect*/ { 0,1,-1				   },
00db10
       },
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-      { /*input.*/ { { 0x0041,0x00A1,0x0000 },		 2 },  /* 17 */
00db10
-	/*expect*/ { 0,1,2				   },
00db10
-      },
00db10
-      { /*input.*/ { { 0x0041,0x00FF,0x0000 },		 2 },  /* 18 */
00db10
-	/*expect*/ { 0,1,2				   },
00db10
-      },
00db10
-#else
00db10
       { /*input.*/ { { 0x0041,0x007E,0x0000 },		 2 },  /* 17 */
00db10
 	/*expect*/ { 0,1,2				   },
00db10
       },
00db10
       { /*input.*/ { { 0x0041,0x0020,0x0000 },		 2 },  /* 18 */
00db10
 	/*expect*/ { 0,1,2				   },
00db10
       },
00db10
-#endif
00db10
       { /*input.*/ { { 0x0041,0x3042,0x0000 },		 2 },  /* 19 */
00db10
 	/*expect*/ { 0,1,-1				   },
00db10
       },
00db10
diff --git a/localedata/tests-mbwc/dat_wctob.c b/localedata/tests-mbwc/dat_wctob.c
00db10
index 4247e694f01fb9a1..5c1f0fb2761e5fe7 100644
00db10
--- a/localedata/tests-mbwc/dat_wctob.c
00db10
+++ b/localedata/tests-mbwc/dat_wctob.c
00db10
@@ -25,14 +25,9 @@ TST_WCTOB tst_wctob_loc [] = {
00db10
 	  {  { WEOF   }, { 0,	 1, EOF	       }  },
00db10
 	  {  { 0x0020 }, { 0,	 1, 0x20       }  },
00db10
 	  {  { 0x0061 }, { 0,	 1, 0x61       }  },
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	  {  { 0x0080 }, { 0,	 1, 0x80       }  },
00db10
-	  {  { 0x00C4 }, { 0,	 1, 0xC4       }  },
00db10
-#else
00db10
 	  /* XXX These are no valid characters.  */
00db10
 	  {  { 0x0080 }, { 0,	 1, EOF        }  },
00db10
 	  {  { 0x00C4 }, { 0,	 1, EOF        }  },
00db10
-#endif
00db10
 	  {  { 0x30C4 }, { 0,	 1, EOF	       }  },
00db10
 	  {  .is_last = 1 } /* Last element.  */
00db10
 	}
00db10
diff --git a/localedata/tests-mbwc/dat_wcwidth.c b/localedata/tests-mbwc/dat_wcwidth.c
00db10
index e50d963830239e95..ec667813e274886c 100644
00db10
--- a/localedata/tests-mbwc/dat_wcwidth.c
00db10
+++ b/localedata/tests-mbwc/dat_wcwidth.c
00db10
@@ -28,16 +28,9 @@ TST_WCWIDTH tst_wcwidth_loc [] = {
00db10
 	{ /*inp*/ { 0x00C1		     },	 /* #06 */
00db10
 	  /*exp*/ { 0,	1,1,	     },
00db10
 	},
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	/* <WAIVER> */	/* CHECK : wint_t */
00db10
-	{ /*inp*/ { 0x3041		     },	 /* #07 */
00db10
-	  /*exp*/ { 0,	1,0,	     },
00db10
-	},
00db10
-#else
00db10
 	{ /*inp*/ { 0x3041		     },	 /* #07 */
00db10
 	  /*exp*/ { 0,	1,EOF,	     },
00db10
 	},
00db10
-#endif
00db10
 	{ .is_last = 1 }
00db10
       }
00db10
     },
00db10
@@ -83,17 +76,10 @@ TST_WCWIDTH tst_wcwidth_loc [] = {
00db10
 	{ /*inp*/ { 0x0080		     },	 /* #04 */
00db10
 	  /*exp*/ { 0,	1,-1,	     },
00db10
 	},
00db10
-#ifdef SHOJI_IS_RIGHT
00db10
-	/* <NO_WAIVER> */
00db10
-	{ /*inp*/ { 0x00A1		     },	 /* #05 */
00db10
-	  /*exp*/ { 0,	1,0,	     },
00db10
-	},
00db10
-#else
00db10
 	/* XXX U00A1 is a valid character in EUC-JP.  */
00db10
 	{ /*inp*/ { 0x00A1		     },	 /* #05 */
00db10
 	  /*exp*/ { 0,	1,2,	     },
00db10
 	},
00db10
-#endif
00db10
 	/* jisx0212 */
00db10
 	{ /*inp*/ { 0x00C1		     },	 /* #06 */
00db10
 	  /*exp*/ { 0,	1,2,	     },
00db10
diff --git a/localedata/tests-mbwc/tst_towctrans.c b/localedata/tests-mbwc/tst_towctrans.c
00db10
index 1d874dc0f7176205..47bab2cf6553d4f0 100644
00db10
--- a/localedata/tests-mbwc/tst_towctrans.c
00db10
+++ b/localedata/tests-mbwc/tst_towctrans.c
00db10
@@ -14,9 +14,6 @@ tst_towctrans (FILE *fp, int debug_flg)
00db10
   TST_DECL_VARS (wint_t);
00db10
   wint_t wc;
00db10
   const char *ts;
00db10
-#if SHOJI_IS_RIGHT
00db10
-  int dummy=0;
00db10
-#endif
00db10
   wctrans_t wto;
00db10
 
00db10
   TST_DO_TEST (towctrans)
00db10
@@ -28,25 +25,7 @@ tst_towctrans (FILE *fp, int debug_flg)
00db10
 	  wc = TST_INPUT (towctrans).wc;
00db10
 	  ts = TST_INPUT (towctrans).ts;
00db10
 
00db10
-#if SHOJI_IS_RIGHT
00db10
-	  if ((wto = wctrans (ts)) == (wctrans_t) 0)
00db10
-	    {
00db10
-#if 0
00db10
-	      result (fp, C_IGNORED, S_TOWCTRANS, locale, rec+1, seq_num+1, 3,
00db10
-		      "Skip this data because the wctrans object is not invalid.");
00db10
-	      warn_count++;
00db10
-	      continue;
00db10
-#else
00db10
-	      wto = &dummy;	/* not good ... */
00db10
-#endif
00db10
-	      if (debug_flg)
00db10
-		{
00db10
-		  fprintf (stdout, "towctrans() ------ wctrans() returnd 0.\n");
00db10
-		}
00db10
-	    }
00db10
-#else
00db10
 	  wto = wctrans (ts);
00db10
-#endif
00db10
 
00db10
 	  TST_CLEAR_ERRNO;
00db10
 	  ret = towctrans (wc, wto);