From: Perl 5 Porters Date: Wed, 17 Jul 1996 22:15:28 +0000 (+0000) Subject: perl 5.003_01: miniperlmain.c X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b5dd76528f58e6d304c1986b9ed0d87463d41795;p=p5sagit%2Fp5-mst-13.2.git perl 5.003_01: miniperlmain.c Correct count in i18nl10n Insure that perl_destruct() and perl_free() are called before exiting --- diff --git a/miniperlmain.c b/miniperlmain.c index bc81e99..2d66964 100644 --- a/miniperlmain.c +++ b/miniperlmain.c @@ -33,7 +33,7 @@ char **env; PERL_SYS_INIT(&argc,&argv); - perl_init_i18nl14n(1); + perl_init_i18nl10n(1); if (!do_undump) { my_perl = perl_alloc(); @@ -43,10 +43,9 @@ char **env; } exitstatus = perl_parse( my_perl, xs_init, argc, argv, (char **) NULL ); - if (exitstatus) - exit( exitstatus ); - - exitstatus = perl_run( my_perl ); + if (!exitstatus) { + exitstatus = perl_run( my_perl ); + } perl_destruct( my_perl ); perl_free( my_perl );