X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fm17n.c;h=952ad55925d2d5052c2570e03728db197e884935;hb=ef71335ceb286b3669919046ebccfbdf8cea9819;hp=34ea41c3a19dec80e9ea5cd8b8aa3dc8f48f75b3;hpb=cf32e0de6e84959f6afc5e8c6914b2223a30ae8b;p=m17n%2Fm17n-lib.git diff --git a/src/m17n.c b/src/m17n.c index 34ea41c..952ad55 100644 --- a/src/m17n.c +++ b/src/m17n.c @@ -17,7 +17,7 @@ You should have received a copy of the GNU Lesser General Public License along with the m17n library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 02111-1307, USA. */ #include @@ -42,6 +42,7 @@ m17n_init (void) { int mdebug_mask = MDEBUG_INIT; + merror_code = MERROR_NONE; if (m17n__shell_initialized++) return; m17n_init_core (); @@ -97,20 +98,20 @@ m17n_fini (void) MDEBUG_PUSH_TIME (); MDEBUG_PUSH_TIME (); - MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize input module.")); minput__fini (); - MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize locale module.")); + MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize input module.")); mlocale__fini (); - MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize language module.")); + MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize locale module.")); mlang__fini (); - MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize character module.")); + MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize language module.")); mchar__fini (); - MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize database module.")); + MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize character module.")); mdatabase__fini (); - MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize coding module.")); + MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize database module.")); mcoding__fini (); - MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize charset module.")); + MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize coding module.")); mcharset__fini (); + MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize charset module.")); MDEBUG_POP_TIME (); MDEBUG_PRINT_TIME ("FINI", (stderr, " to finalize the shell modules.")); MDEBUG_POP_TIME ();