*** ./JPPatchlevel.orig Sun Feb 28 14:09:38 1993 --- ./JPPatchlevel Sun Feb 28 14:08:52 1993 *************** *** 1 **** ! MH.6.8 Japanization-patch.2a --- 1 ---- ! MH.6.8 Japanization-patch.2b *** ./sbr/ml_codeconv.c.orig Sun Feb 28 14:02:17 1993 --- ./sbr/ml_codeconv.c Sun Feb 28 14:05:42 1993 *************** *** 18,24 **** #define CS_NOCONV 99 /* coding system list */ ! #define CSL_SIZE 4 #define CSL_DISPLAY(csl) ((csl)[0]) #define CSL_FILE(csl) ((csl)[1]) #define CSL_PROCESS(csl) ((csl)[2]) --- 18,24 ---- #define CS_NOCONV 99 /* coding system list */ ! #define CSL_SIZE 3 #define CSL_DISPLAY(csl) ((csl)[0]) #define CSL_FILE(csl) ((csl)[1]) #define CSL_PROCESS(csl) ((csl)[2]) *************** *** 33,39 **** #define IS_SJIS2(c) ((0x40 <= (c)) && ((c) <= 0xfc) && ((c) != 0x7f)) /* hold coding system information */ ! static coding_system_t ml_coding_info[CSL_SIZE]; /* private functions */ static void read_profile(); --- 33,40 ---- #define IS_SJIS2(c) ((0x40 <= (c)) && ((c) <= 0xfc) && ((c) != 0x7f)) /* hold coding system information */ ! static coding_system_t ml_coding_info[CSL_SIZE] = ! { CS_DEFAULT, CS_DEFAULT, CS_DEFAULT }; /* private functions */ static void read_profile(); *** ./uip/install-mh.c.orig Sun Feb 28 14:06:02 1993 --- ./uip/install-mh.c Sun Feb 28 14:08:16 1993 *************** *** 53,61 **** #ifdef LOCALE setlocale(LC_ALL, ""); #endif - #ifdef JAPAN - ml_init(); - #endif /* JAPAN */ invo_name = r1bindex (argv[0], '/'); #ifdef COMPAT --- 53,58 ---- *** ./uip/mhlsbr.c.orig Sun Feb 28 12:43:45 1993 --- ./uip/mhlsbr.c Sun Feb 28 13:52:33 1993 *************** *** 966,972 **** /* ... (-_-; */ while (state == BODY) { char *cp, *oldhct; ! cp = holder.c_text + sizeof(buf); while (*--cp != '\n') ; *cp = 0; (void) ml_conv(holder.c_text); --- 966,972 ---- /* ... (-_-; */ while (state == BODY) { char *cp, *oldhct; ! cp = holder.c_text + strlen(holder.c_text); while (*--cp != '\n') ; *cp = 0; (void) ml_conv(holder.c_text); *** ./uip/sbboards.c.orig Sun Feb 28 14:08:26 1993 --- ./uip/sbboards.c Sun Feb 28 14:08:35 1993 *************** *** 129,137 **** #ifdef LOCALE setlocale(LC_ALL, ""); #endif - #ifdef JAPAN - ml_init(); - #endif /* JAPAN */ #ifdef MHMTS if (argc != 5) adios (EX_USAGE, NULL, "you lose really big"); --- 129,134 ---- *** ./uip/slocal.c.orig Sun Feb 28 14:08:26 1993 --- ./uip/slocal.c Wed Mar 3 19:59:52 1993 *************** *** 213,221 **** #ifdef LOCALE setlocale(LC_ALL, ""); #endif - #ifdef JAPAN - ml_init(); - #endif /* JAPAN */ invo_name = r1bindex (*argv, '/'); m_foil (NULLCP); mts_init (invo_name); --- 213,218 ---- *************** *** 324,329 **** --- 321,330 ---- (void) setuid (pw -> pw_uid); } + #ifdef JAPAN + /* ml_init();*/ + #endif /* JAPAN */ + if (info == NULL) info = "";